Fixed order of test in render string count

svn: r11560
This commit is contained in:
Doug Blank 2009-01-03 06:00:46 +00:00
parent b54d472fc6
commit d3d1a0acdd

View File

@ -682,7 +682,7 @@ class GuiGramplet:
while i < len(text):
if ord(text[i]) > 126:
t = 0
while ord(text[i]) > 126 and i < len(text):
while i < len(text) and ord(text[i]) > 126:
i += 1
t += 1
r += t/2