From 0cf09d80634e6655a6c26311308e2dcaed31ce66 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Jul 2009 16:49:36 +0000 Subject: [PATCH] Well that was a stupid bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3253 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/console.c b/engine/client/console.c index ea9cb07ab..556e02fc3 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -557,7 +557,7 @@ void Con_PrintCon (console_t *con, char *txt) con->linecount++; if (con == &con_main) con_times[con->linesprinted++%NUM_CON_TIMES] = realtime; - con->current->newer = Z_Malloc(sizeof(sizeof(conline_t))); + con->current->newer = Z_Malloc(sizeof(conline_t)); con->current->newer->older = con->current; con->current = con->current->newer; con->current->length = 0;