mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- Fixed: font monospacing didn't apply to the space character.
SVN r2666 (trunk)
This commit is contained in:
parent
0202c0c3a9
commit
241e09c271
1 changed files with 4 additions and 1 deletions
|
@ -1349,7 +1349,10 @@ public:
|
|||
{
|
||||
if(*str == ' ')
|
||||
{
|
||||
if(script->spacingCharacter == '\0')
|
||||
ax += font->GetSpaceWidth();
|
||||
else
|
||||
ax += font->GetCharWidth((int) script->spacingCharacter);
|
||||
str++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue