- 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
1 changed files with 1 additions and 1 deletions

View File

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