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:
@@ -22,7 +22,7 @@ local l10n = QuestieLoader:ImportModule("l10n")
|
||||
--- COMPATIBILITY ---
|
||||
local C_Timer = QuestieCompat.C_Timer
|
||||
|
||||
QuestieOptions.tabs.tracker = { ... }
|
||||
QuestieOptions.tabs.tracker = {}
|
||||
|
||||
local _GetShortcuts
|
||||
local trackerOptions = {}
|
||||
|
||||
Reference in New Issue
Block a user