From 41a62ccfc2a1ba51b3d62f1f5133187f6298e34a Mon Sep 17 00:00:00 2001 From: Forest Hale Date: Wed, 1 Nov 2000 03:54:43 +0000 Subject: [PATCH] Fix for insta-crash bug to do with sys_nostdout being checked before it was registered (grabbed solution from sys_unix.c) --- source/sys_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sys_win.c b/source/sys_win.c index e133409..9900fc8 100644 --- a/source/sys_win.c +++ b/source/sys_win.c @@ -119,7 +119,7 @@ void Sys_Printf (char *fmt, ...) unsigned char *p; - if (sys_nostdout->int_val) + if (sys_nostdout && sys_nostdout->int_val) return; va_start (argptr, fmt);