fix(options): use {} not { ... } for tab tables
Five Options files seeded their tab tables with { ... } instead of {}.
At chunk scope WoW passes ... = (addonName, addonTable), so each table
got two stray junk entries instead of being empty; { ... } is also a
strict Lua 5.0 parse error. Fixed QuestieOptions.tabs and the Arrow,
General, Keybinds, and Tracker tab tables. Cherry-picked from
phase2-lua50-sweep (the only version-independent fix in that branch).
This commit is contained in:
@@ -61,7 +61,7 @@ local function GetExpandedFontList()
|
||||
return fonts
|
||||
end
|
||||
|
||||
QuestieOptions.tabs.arrow = { ... }
|
||||
QuestieOptions.tabs.arrow = {}
|
||||
|
||||
function QuestieOptions.tabs.arrow:Initialize()
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user