summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2011-09-11 17:01:56 +0000
committerSimon Howard2011-09-11 17:01:56 +0000
commitdf292a6dce27e7b20faa0c829aa0c58a3693f979 (patch)
tree115501611eaabaade866aaf9289d39cf7ac01604 /src
parent358db83778b46427fe267f86532d3a84d25a50ac (diff)
downloadchocolate-doom-df292a6dce27e7b20faa0c829aa0c58a3693f979.tar.gz
chocolate-doom-df292a6dce27e7b20faa0c829aa0c58a3693f979.tar.bz2
chocolate-doom-df292a6dce27e7b20faa0c829aa0c58a3693f979.zip
Don't show error dialog if running from the console on OS X.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2364
Diffstat (limited to 'src')
-rw-r--r--src/i_system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_system.c b/src/i_system.c
index 15e91653..65ca8854 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -371,6 +371,7 @@ void I_Error (char *error, ...)
#endif
#ifdef __MACOSX__
+ if (!I_ConsoleStdout())
{
CFStringRef message;
char msgbuf[512];