File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
-- LibAnim by Hydra
2
- local Version = 2.902 -- based on 2.03
2
+ local Version = 2.903 -- based on 2.03
3
3
4
4
-- Note, deprecated items will be removed next version.
5
5
-- Please update your usage accordingly. (ctrl + f - "Deprecated")
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ local Private = Profiler(oUF).Private
9
9
10
10
local argcheck = Private .argcheck
11
11
local error = Private .error
12
- local print = Private .print -- luacheck: no unused
12
+ local print = Private .print -- luacheck: no unused
13
13
local unitExists = Private .unitExists
14
14
15
15
local styles , style = {}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ local Private = oUF.Private
5
5
-- ElvUI_CPU knock off by Simpy (STILL UNFINISHED)
6
6
7
7
local type = type
8
+ local next = next
8
9
local wipe = wipe
9
10
local rawset = rawset
10
11
local unpack = unpack
Original file line number Diff line number Diff line change @@ -18,9 +18,12 @@ local FCF_GetNumActiveChatFrames = FCF_GetNumActiveChatFrames
18
18
local ChatTabInfo = {}
19
19
local function GetChatWindowInfo ()
20
20
wipe (ChatTabInfo )
21
- for i = 1 , FCF_GetNumActiveChatFrames () do
21
+
22
+ local numActive = FCF_GetNumActiveChatFrames () or 0
23
+ for i = 1 , numActive do
22
24
ChatTabInfo [' ChatFrame' .. i ] = _G [' ChatFrame' .. i .. ' Tab' ]:GetText ()
23
25
end
26
+
24
27
return ChatTabInfo
25
28
end
26
29
You can’t perform that action at this time.
0 commit comments