Fix tooltip, minimap

This commit is contained in:
Henrique Santiago
2013-01-31 19:43:42 -02:00
parent e370ffdb0f
commit 4c3c945bab
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ function g_tooltip.terminate()
end
function g_tooltip.display(text)
if text == nil then return end
if text == nil or text:len() == 0 then return end
if not toolTipLabel then return end
toolTipLabel:setText(text)