mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +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(*str == ' ')
|
||||||
{
|
{
|
||||||
|
if(script->spacingCharacter == '\0')
|
||||||
ax += font->GetSpaceWidth();
|
ax += font->GetSpaceWidth();
|
||||||
|
else
|
||||||
|
ax += font->GetCharWidth((int) script->spacingCharacter);
|
||||||
str++;
|
str++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue