reset prevch after drawing the shadow to not kern the last shadow-character with...
authorblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 1 Jan 2010 17:04:55 +0000 (17:04 +0000)
committerblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 1 Jan 2010 17:04:55 +0000 (17:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9765 d7cf8633-e32d-0410-b094-e92efae38249

gl_draw.c

index d8b6b5c..425c515 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -1373,6 +1373,7 @@ float DrawQ_String_Scale(float startx, float starty, const char *text, size_t ma
 
        for (shadow = r_textshadow.value != 0 && basealpha > 0;shadow >= 0;shadow--)
        {
+               prevch = 0;
                text = text_start;
 
                if (!outcolor || *outcolor == -1)