Skip to content

Commit 92bc0df

Browse files
authored
chore: fix "english linting errors" (#9909)
1 parent b7c15bc commit 92bc0df

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Classes/CompareTab.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@ function CompareTabClass:ComparePowerBuilder(compareEntry, powerStat, categories
26602660

26612661
-- if our comparison has abyssal jewels, but the primary build
26622662
-- doesn't, add those temporarily to the build to work around
2663-
-- calcfunc not being able to take in multiple items
2663+
-- calcFunc not being able to take in multiple items
26642664
local cmpJewels = {}
26652665
local oldEquipped = {}
26662666
if newItem.abyssalSocketCount > 0 then
@@ -3423,12 +3423,12 @@ function CompareTabClass:DrawItemExpanded(item, x, startY, colWidth, otherModMap
34233423
local fontSize = 14
34243424
local drawY = startY
34253425
local maxLineW = 0
3426-
local function emit(lx, ly, align, fs, fstyle, str)
3426+
local function emit(lx, ly, align, fs, fStyle, str)
34273427
if measureMode then
3428-
local w = DrawStringWidth(fs, fstyle, str)
3428+
local w = DrawStringWidth(fs, fStyle, str)
34293429
if w > maxLineW then maxLineW = w end
34303430
else
3431-
DrawString(lx, ly, align, fs, fstyle, str)
3431+
DrawString(lx, ly, align, fs, fStyle, str)
34323432
end
34333433
end
34343434

src/Classes/PartyTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ local PartyTabClass = newClass("PartyTab", "ControlHost", "Control", function(se
371371
self:ParseBuffs(self.enemyModList, self.controls.enemyMods.buf, "EnemyMods", self.controls.simpleEnemyMods)
372372
self.build.buildFlag = true
373373
end)
374-
self.controls.rebuild.tooltipText = "^7Reparse all the inputs incase they have been disabled or they have changed since loading the build or importing"
374+
self.controls.rebuild.tooltipText = "^7Reparse all the inputs in case they have been disabled or they have changed since loading the build or importing"
375375
self.controls.rebuild.x = function()
376376
return (self.width > theme.widthThreshold1) and 8 or (-328)
377377
end

src/Modules/CalcPerform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3237,7 +3237,7 @@ function calcs.perform(env, skipEHP)
32373237
enemyDB:ReplaceMod("Multiplier:ImpaleStacks", "BASE", maxImpaleStacks, "Config", { type = "Condition", var = "Combat" })
32383238
end
32393239

3240-
-- Foulborn Choir of the Storm, needs to be after main auras (incase purity of lightning/elements auras) but before extra auras (Radiant Faith)
3240+
-- Foulborn Choir of the Storm, needs to be after main auras (in case purity of lightning/elements auras) but before extra auras (Radiant Faith)
32413241
if modDB:Flag(nil, "ManaIncreasedByOvercappedLightningRes") then
32423242
-- Calculate resistances for ManaIncreasedByOvercappedLightningRes without mutating conversion mods on the player ModDB.
32433243
local tempResistActor = {

0 commit comments

Comments
 (0)