summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2005-09-14 22:08:29 +0000
committerSimon Howard2005-09-14 22:08:29 +0000
commit74f032bbdd1bd7a950336d5d86b834052fb57ca3 (patch)
tree11b5274f4f7c21dd9f522034ea842ee17fea654d /src
parent5edba96d934e627ad61d0298b9223cccd299d741 (diff)
downloadchocolate-doom-74f032bbdd1bd7a950336d5d86b834052fb57ca3.tar.gz
chocolate-doom-74f032bbdd1bd7a950336d5d86b834052fb57ca3.tar.bz2
chocolate-doom-74f032bbdd1bd7a950336d5d86b834052fb57ca3.zip
Fix startup messages displayed (build a console binary; remove CON
redirection code) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 106
Diffstat (limited to 'src')
-rw-r--r--src/i_main.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/i_main.c b/src/i_main.c
index 43f171c9..eab081f4 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $
+// $Id: i_main.c 106 2005-09-14 22:08:29Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.6 2005/09/14 22:08:28 fraggle
+// Fix startup messages displayed (build a console binary; remove CON
+// redirection code)
+//
// Revision 1.5 2005/09/07 22:58:34 fraggle
// No SIGHUP on Windows
//
@@ -44,7 +48,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $";
+rcsid[] = "$Id: i_main.c 106 2005-09-14 22:08:29Z fraggle $";
#include <signal.h>
@@ -80,14 +84,6 @@ int main(int argc, char **argv)
signal(SIGHUP, SignalHandler);
#endif
-#ifdef _WIN32
- // restore stdout/stderr
-
- freopen("CON", "w", stdout);
- freopen("CON", "w", stderr);
-
-#endif
-
// start doom
D_DoomMain ();