Skip to content

Commit 19906ae

Browse files
committed
huh
1 parent 0ccad85 commit 19906ae

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

ElvUI/Cata/Modules/Skins/Friends.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ function S:FriendsFrame()
356356
end
357357
end
358358
else
359-
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY, 1 do
359+
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY do
360360
local button = _G['GuildFrameGuildStatusButton'..i]
361361
local _, _, _, _, class, _, _, _, online = GetGuildRosterInfo(button.guildIndex)
362362

ElvUI/Classic/Modules/Skins/Character.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ local function ReputationFrameUpdate()
2828
local factionOffset = FauxScrollFrame_GetOffset(_G.ReputationListScrollFrame)
2929
local numFactions = GetNumFactions()
3030

31-
for i = 1, NUM_FACTIONS_DISPLAYED, 1 do
31+
for i = 1, NUM_FACTIONS_DISPLAYED do
3232
local factionIndex = factionOffset + i
3333
if factionIndex <= numFactions then
3434
local factionHeader = _G['ReputationHeader'..i]

ElvUI/Classic/Modules/Skins/Craft.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function S:SkinCraft()
117117
end
118118

119119
local numReagents = GetCraftNumReagents(id)
120-
for i = 1, numReagents, 1 do
120+
for i = 1, numReagents do
121121
local _, _, reagentCount, playerReagentCount = GetCraftReagentInfo(id, i)
122122
local reagentLink = GetCraftReagentItemLink(id, i)
123123
local icon = _G['CraftReagent'..i..'IconTexture']

ElvUI/Classic/Modules/Skins/Friends.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function S:FriendsFrame()
349349
end
350350
end
351351
else
352-
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY, 1 do
352+
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY do
353353
local button = _G['GuildFrameGuildStatusButton'..i]
354354
local _, _, _, _, class, _, _, _, online = GetGuildRosterInfo(button.guildIndex)
355355

ElvUI/Core/General/StaticPopups.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ function E:StaticPopup_FindVisible(which, data)
684684
if not info then
685685
return nil
686686
end
687-
for index = 1, MAX_STATIC_POPUPS, 1 do
687+
for index = 1, MAX_STATIC_POPUPS do
688688
local frame = _G['ElvUI_StaticPopup'..index]
689689
if frame and frame:IsShown() and (frame.which == which) and (not info.multiple or (frame.data == data)) then
690690
return frame
@@ -781,7 +781,7 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
781781
end
782782

783783
if info.cancels then
784-
for index = 1, MAX_STATIC_POPUPS, 1 do
784+
for index = 1, MAX_STATIC_POPUPS do
785785
local frame = _G['ElvUI_StaticPopup'..index]
786786
if frame:IsShown() and (frame.which == info.cancels) then
787787
frame:Hide()
@@ -1066,7 +1066,7 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
10661066
end
10671067

10681068
function E:StaticPopup_Hide(which, data)
1069-
for index = 1, MAX_STATIC_POPUPS, 1 do
1069+
for index = 1, MAX_STATIC_POPUPS do
10701070
local dialog = _G['ElvUI_StaticPopup'..index]
10711071
if dialog.which == which and (not data or (data == dialog.data)) then
10721072
dialog:Hide()

ElvUI/Core/Modules/Bags/Bags.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ do
347347

348348
if #search > MIN_REPEAT_CHARACTERS then
349349
local repeating = true
350-
for i = 1, MIN_REPEAT_CHARACTERS, 1 do
350+
for i = 1, MIN_REPEAT_CHARACTERS do
351351
local x, y = 0-i, -1-i
352352
if strsub(search, x, x) ~= strsub(search, y, y) then
353353
repeating = false

ElvUI/Core/Modules/Chat/Chat.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ do
638638
local MIN_REPEAT_CHARACTERS = CH.db.numAllowedCombatRepeat
639639
if len > MIN_REPEAT_CHARACTERS then
640640
local repeatChar = true
641-
for i = 1, MIN_REPEAT_CHARACTERS, 1 do
641+
for i = 1, MIN_REPEAT_CHARACTERS do
642642
local first = -1 - i
643643
if strsub(text,-i,-i) ~= strsub(text,first,first) then
644644
repeatChar = false

0 commit comments

Comments
 (0)