Skip to content

Commit

Permalink
huh
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Apr 13, 2024
1 parent 0ccad85 commit 19906ae
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ElvUI/Cata/Modules/Skins/Friends.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function S:FriendsFrame()
end
end
else
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY, 1 do
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY do
local button = _G['GuildFrameGuildStatusButton'..i]
local _, _, _, _, class, _, _, _, online = GetGuildRosterInfo(button.guildIndex)

Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Classic/Modules/Skins/Character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local function ReputationFrameUpdate()
local factionOffset = FauxScrollFrame_GetOffset(_G.ReputationListScrollFrame)
local numFactions = GetNumFactions()

for i = 1, NUM_FACTIONS_DISPLAYED, 1 do
for i = 1, NUM_FACTIONS_DISPLAYED do
local factionIndex = factionOffset + i
if factionIndex <= numFactions then
local factionHeader = _G['ReputationHeader'..i]
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Classic/Modules/Skins/Craft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function S:SkinCraft()
end

local numReagents = GetCraftNumReagents(id)
for i = 1, numReagents, 1 do
for i = 1, numReagents do
local _, _, reagentCount, playerReagentCount = GetCraftReagentInfo(id, i)
local reagentLink = GetCraftReagentItemLink(id, i)
local icon = _G['CraftReagent'..i..'IconTexture']
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Classic/Modules/Skins/Friends.lua
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function S:FriendsFrame()
end
end
else
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY, 1 do
for i = 1, _G.GUILDMEMBERS_TO_DISPLAY do
local button = _G['GuildFrameGuildStatusButton'..i]
local _, _, _, _, class, _, _, _, online = GetGuildRosterInfo(button.guildIndex)

Expand Down
6 changes: 3 additions & 3 deletions ElvUI/Core/General/StaticPopups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ function E:StaticPopup_FindVisible(which, data)
if not info then
return nil
end
for index = 1, MAX_STATIC_POPUPS, 1 do
for index = 1, MAX_STATIC_POPUPS do
local frame = _G['ElvUI_StaticPopup'..index]
if frame and frame:IsShown() and (frame.which == which) and (not info.multiple or (frame.data == data)) then
return frame
Expand Down Expand Up @@ -781,7 +781,7 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
end

if info.cancels then
for index = 1, MAX_STATIC_POPUPS, 1 do
for index = 1, MAX_STATIC_POPUPS do
local frame = _G['ElvUI_StaticPopup'..index]
if frame:IsShown() and (frame.which == info.cancels) then
frame:Hide()
Expand Down Expand Up @@ -1066,7 +1066,7 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
end

function E:StaticPopup_Hide(which, data)
for index = 1, MAX_STATIC_POPUPS, 1 do
for index = 1, MAX_STATIC_POPUPS do
local dialog = _G['ElvUI_StaticPopup'..index]
if dialog.which == which and (not data or (data == dialog.data)) then
dialog:Hide()
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/Bags/Bags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ do

if #search > MIN_REPEAT_CHARACTERS then
local repeating = true
for i = 1, MIN_REPEAT_CHARACTERS, 1 do
for i = 1, MIN_REPEAT_CHARACTERS do
local x, y = 0-i, -1-i
if strsub(search, x, x) ~= strsub(search, y, y) then
repeating = false
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/Chat/Chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ do
local MIN_REPEAT_CHARACTERS = CH.db.numAllowedCombatRepeat
if len > MIN_REPEAT_CHARACTERS then
local repeatChar = true
for i = 1, MIN_REPEAT_CHARACTERS, 1 do
for i = 1, MIN_REPEAT_CHARACTERS do
local first = -1 - i
if strsub(text,-i,-i) ~= strsub(text,first,first) then
repeatChar = false
Expand Down

0 comments on commit 19906ae

Please sign in to comment.