fix a bug in special character translation leading to console spam
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Dec 2010 11:00:57 +0000 (11:00 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Dec 2010 11:00:57 +0000 (11:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10686 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index d443dea..9856e8e 100644 (file)
--- a/console.c
+++ b/console.c
@@ -1127,7 +1127,7 @@ void Con_MaskPrint(int additionalmask, const char *msg)
                                                {
                                                        *p = qfont_table[ch - 0xE000];
                                                        if(q > p+1)
-                                                               memmove(p+1, q, strlen(q));
+                                                               memmove(p+1, q, strlen(q)+1);
                                                        p = p + 1;
                                                }
                                                else