From 336f3f613c0d4bb61b4eda5b966bc84f1eb37dc5 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 27 Dec 2010 11:00:57 +0000 Subject: [PATCH] fix a bug in special character translation leading to console spam git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10686 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.c b/console.c index d443dea4..9856e8e3 100644 --- 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 -- 2.39.2