mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
Fix for insta-crash bug to do with sys_nostdout being checked before it was registered (grabbed solution from sys_unix.c)
This commit is contained in:
parent
760c9996d4
commit
41a62ccfc2
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void Sys_Printf (char *fmt, ...)
|
||||||
|
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
|
|
||||||
if (sys_nostdout->int_val)
|
if (sys_nostdout && sys_nostdout->int_val)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
va_start (argptr, fmt);
|
va_start (argptr, fmt);
|
||||||
|
|
Loading…
Reference in a new issue