]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
print to console before printing to terminal (which needs mangled characters), why...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 31 May 2005 22:00:06 +0000 (22:00 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 31 May 2005 22:00:06 +0000 (22:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5365 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 97c2bd224b0aa5d1a2cd1ea1c582521811e0a7a8..a7e3b3af1c06d742ef4fde8fb0234cc2a9e9dcc6 100644 (file)
--- 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;
                }