]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
Added wasfreed() to menuqc builtinlist. Hushed "VM_bufstr_get: invalid string index...
[xonotic/darkplaces.git] / console.c
index d443dea45ce8ae3302701e4d78471523310bd33a..9856e8e3bf307bd482c6f3486447773e75991b26 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