foxygit / doom Log in
commit abac4feb9aa012a643d3219baf76557f3e348d33
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Fri Nov 28 19:56:29 2014 -0500
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Fri Nov 28 19:56:29 2014 -0500

    Disable OS X error dialog box for now.

    This doesn't seem to be working.
---
 src/i_system.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/i_system.c b/src/i_system.c
index c783d491..a03ce734 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -256,7 +256,8 @@ void I_Quit (void)
     exit(0);
 }

-#if !defined(_WIN32) && !defined(__MACOSX__)
+// SDL2-TODO: Fix the dialog box on OS X.
+#if !defined(_WIN32) && !defined(__DISABLED__MACOSX__)
 #define ZENITY_BINARY "/usr/bin/zenity"

 // returns non-zero if zenity is available
@@ -409,7 +410,7 @@ void I_Error (char *error, ...)

         MessageBoxW(NULL, wmsgbuf, L"", MB_OK);
     }
-#elif defined(__MACOSX__)
+#elif defined(__DISABLED__MACOSX__)
     {
         CFStringRef message;
 	int i;