* Updated to ZDoom r2666:

- Fixed: font monospacing didn't apply to the space character.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@931 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2010-09-02 07:40:50 +00:00
parent 4dab616af2
commit b2aec4871a
2 changed files with 6 additions and 3 deletions

View file

@ -1349,7 +1349,10 @@ public:
{
if(*str == ' ')
{
ax += font->GetSpaceWidth();
if(script->spacingCharacter == '\0')
ax += font->GetSpaceWidth();
else
ax += font->GetCharWidth((int) script->spacingCharacter);
str++;
continue;
}

View file

@ -3,5 +3,5 @@
// This file was automatically generated by the
// updaterevision tool. Do not edit by hand.
#define ZD_SVN_REVISION_STRING "2663"
#define ZD_SVN_REVISION_NUMBER 2663
#define ZD_SVN_REVISION_STRING "2666"
#define ZD_SVN_REVISION_NUMBER 2666