mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 01:00:53 +00:00
various printf, Sys_Printf, Con_Printf cleanups. Con_Printf now ALWAYS prints
to consol/logfile whether output is recirected or not. Also, Con_Printf will not print the time stamp if the last char of the previous print wasn't \n
This commit is contained in:
parent
3b0d17acc4
commit
451afbd488
8 changed files with 39 additions and 99 deletions
|
@ -417,7 +417,7 @@ COM_WriteBuffers (const char *filename, int count, ...)
|
|||
Sys_Error ("Error opening %s", filename);
|
||||
}
|
||||
|
||||
Sys_Printf ("COM_WriteFile: %s\n", name);
|
||||
Sys_Printf ("COM_WriteBuffers: %s\n", name);
|
||||
while (count--) {
|
||||
void *data = va_arg (args, void*);
|
||||
int len = va_arg (args, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue