- Fixed: FFont::StringWidth() counted the ']' character of a named color escape sequence in

its width calculation.

SVN r2190 (trunk)
This commit is contained in:
Randy Heit 2010-03-05 03:41:48 +00:00
parent fad9f251ec
commit f014b8f98b

View file

@ -276,7 +276,7 @@ int FFont::StringWidth (const BYTE *string) const
++string;
}
}
else if (*string != '\0')
if (*string != '\0')
{
++string;
}