mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
- Fixed: FFont::StringWidth() counted the ']' character of a named color escape sequence in
its width calculation. SVN r2190 (trunk)
This commit is contained in:
parent
fad9f251ec
commit
f014b8f98b
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ int FFont::StringWidth (const BYTE *string) const
|
|||
++string;
|
||||
}
|
||||
}
|
||||
else if (*string != '\0')
|
||||
if (*string != '\0')
|
||||
{
|
||||
++string;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue