From 9f6cee30d3048d5d4e690d49fb3e25e92a683c4d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 27 Oct 2009 11:48:18 +0000 Subject: [PATCH] * Remove disabling of stdout/err redirection on windows as it doesn't work (since the environment variable is acted upon by the SDL_main stuff, which happens before our main) --- code/sys/sys_win32.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c index 5f6b73f1..b3d21670 100644 --- a/code/sys/sys_win32.c +++ b/code/sys/sys_win32.c @@ -650,8 +650,5 @@ void Sys_PlatformInit( void ) } else SDL_VIDEODRIVER_externallySet = qfalse; - - // Don't redirect to stdout.txt and stderr.txt - _putenv( "SDL_STDIO_REDIRECT=0" ); #endif }