mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +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;
|
++string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (*string != '\0')
|
if (*string != '\0')
|
||||||
{
|
{
|
||||||
++string;
|
++string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue