tooltip bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-02-09 17:59:47 +01:00
parent 0e3404d845
commit 451cdcf090
+2 -2
View File
@@ -233,8 +233,8 @@ end
function public.tooltip_match(pattern, tooltip)
return Aux.util.any(tooltip, function(line)
local left_match = line.left.text and strupper(line.left_text) == strupper(pattern)
local right_match = line.left.text and strupper(line.right_text) == strupper(pattern)
local left_match = line.left_text and strupper(line.left_text) == strupper(pattern)
local right_match = line.right_text and strupper(line.right_text) == strupper(pattern)
return left_match or right_match
end)
end