From 7d9b2407c16f91d50b4b05e6dbbabc8d60d996b5 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 31 May 2005 22:00:06 +0000 Subject: [PATCH] print to console before printing to terminal (which needs mangled characters), why was this backwards? git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5365 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console.c b/console.c index 97c2bd22..a7e3b3af 100644 --- a/console.c +++ b/console.c @@ -585,6 +585,9 @@ void Con_Print(const char *msg) line[index] = 0; // send to log file Log_ConPrint(line); + // send to scrollable buffer + if (con_initialized && cls.state != ca_dedicated) + Con_PrintToHistory(line, mask); // send to terminal or dedicated server window if (!sys_nostdout) { @@ -593,9 +596,6 @@ void Con_Print(const char *msg) *p = qfont_table[*p]; Sys_PrintToTerminal(line); } - // send to scrollable buffer - if (con_initialized && cls.state != ca_dedicated) - Con_PrintToHistory(line, mask); // empty the line buffer index = 0; } -- 2.39.2