From: havoc Date: Tue, 31 May 2005 22:00:06 +0000 (+0000) Subject: print to console before printing to terminal (which needs mangled characters), why... X-Git-Tag: xonotic-v0.1.0preview~4817 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d9b2407c16f91d50b4b05e6dbbabc8d60d996b5;p=xonotic%2Fdarkplaces.git 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 --- 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; }