mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix some bitrot in qtv
qtv_print was calling Sys_Printf, which uses qtv_print which... Con_Printf is now the correct function to call here.
This commit is contained in:
parent
7827086b54
commit
a6822c8c10
1 changed files with 2 additions and 2 deletions
|
@ -107,12 +107,12 @@ qtv_print (const char *fmt, va_list args)
|
|||
char stamp[123];
|
||||
|
||||
if (pending) {
|
||||
Sys_Printf ("%s", msg->str);
|
||||
Con_Printf ("%s", msg->str);
|
||||
} else {
|
||||
mytime = time (NULL);
|
||||
local = localtime (&mytime);
|
||||
strftime (stamp, sizeof (stamp), "[%b %e %X] ", local);
|
||||
Sys_Printf ("%s%s", stamp, msg->str);
|
||||
Con_Printf ("%s%s", stamp, msg->str);
|
||||
}
|
||||
if (msg->str[0] && msg->str[strlen (msg->str) - 1] != '\n') {
|
||||
pending = 1;
|
||||
|
|
Loading…
Reference in a new issue