diff --git a/Core/Tooltip.lua b/Core/Tooltip.lua index 2b283a9..2a18c90 100644 --- a/Core/Tooltip.lua +++ b/Core/Tooltip.lua @@ -47,6 +47,9 @@ local function AddSourceLine(tooltip, sourceStr) end for i = 1, numLines do + -- the buffer is pre-built for 30 lines, but long set tooltips plus + -- tooltip-extending addons (StatCompare etc.) can exceed that + lines[i] = lines[i] or {} left = _G[name.."TextLeft"..i] right = _G[name.."TextRight"..i] leftText = left:GetText()