mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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];
|
char stamp[123];
|
||||||
|
|
||||||
if (pending) {
|
if (pending) {
|
||||||
Sys_Printf ("%s", msg->str);
|
Con_Printf ("%s", msg->str);
|
||||||
} else {
|
} else {
|
||||||
mytime = time (NULL);
|
mytime = time (NULL);
|
||||||
local = localtime (&mytime);
|
local = localtime (&mytime);
|
||||||
strftime (stamp, sizeof (stamp), "[%b %e %X] ", local);
|
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') {
|
if (msg->str[0] && msg->str[strlen (msg->str) - 1] != '\n') {
|
||||||
pending = 1;
|
pending = 1;
|
||||||
|
|
Loading…
Reference in a new issue