Fix text highlighting again

This commit is contained in:
Eduardo Bart
2013-01-22 18:29:18 -02:00
parent dabc7548fe
commit ca4caf7991
3 changed files with 4 additions and 3 deletions

View File

@@ -401,7 +401,7 @@ function addTabText(text, speaktype, tab, creatureName)
label:setText(text)
-- Calculate the positions of the highlighted text and fill with string.char(127) [Width: 1]
local drawText = label:getText()
local drawText = label:getDrawText()
local tmpText = ""
for i = 1, #highlightData / 3 do
local dataBlock = { _start = highlightData[(i-1)*3+1], _end = highlightData[(i-1)*3+2], words = highlightData[(i-1)*3+3] }