mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
flush sv_logfile on each print
This commit is contained in:
parent
969dad87eb
commit
d3e7be755b
1 changed files with 3 additions and 1 deletions
|
@ -347,8 +347,10 @@ C_Print (const char *fmt, va_list args)
|
|||
|
||||
txt = buffer->str;
|
||||
|
||||
if (log_file)
|
||||
if (log_file) {
|
||||
Qputs (log_file, buffer->str);
|
||||
Qflush (log_file);
|
||||
}
|
||||
#ifdef HAVE_CURSES_H
|
||||
if (use_curses) {
|
||||
Con_BufferAddText (output_buffer, buffer->str);
|
||||
|
|
Loading…
Reference in a new issue