Skip to content

Commit a01bbaf

Browse files
committed
Fix typos
1 parent 38fffd3 commit a01bbaf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Modules/ConfigModBrowser.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ local function addItemMod(seenGroups, set, mod, source)
7676
-- the actual trade hashes aren't relevant, but this
7777
-- field is separated by stat description, which
7878
-- means that getting rid of split lines won't
79-
-- result in accidentatlly combining two separate
79+
-- result in accidentally combining two separate
8080
-- stats
8181
if mod.tradeHashes then
8282
for _, statDescription in pairs(mod.tradeHashes) do
8383
local line = table.concat(statDescription, " ")
8484
-- note that exactly 0.5 range is necessary as that is what the
85-
-- modcache uses
85+
-- mod cache uses
8686
local rangedLine = itemLib.applyRange(line, 0.5)
8787
local modList, extra = modLib.parseMod(rangedLine)
8888
addModLine(set, rangedLine, source, (not not modList) and not extra)

src/Modules/Main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function main:SaveModCache()
310310
-- luajit has problems with loading large tables due to require() and
311311
-- LoadModule wrapping the loaded file in a function, which means the
312312
-- program runs out of constants and crashes. this works around that by
313-
-- splitting the modcache into functions of 5k statements
313+
-- splitting the mod cache into functions of 5k statements
314314
local count = 0
315315
out:write("(function()\n")
316316
for line, dat in pairsSortByKey(modLib.parseModCache) do

0 commit comments

Comments
 (0)