ecere/GuiApplication: Fixed fallback driver for OS X to be NCurses
authorJerome St-Louis <jerome@ecere.com>
Wed, 2 Apr 2014 05:38:03 +0000 (01:38 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 2 Apr 2014 05:38:03 +0000 (01:38 -0400)
ecere/src/gui/GuiApplication.ec

index 4589254..28858aa 100644 (file)
@@ -602,11 +602,10 @@ public class GuiApplication : Application
          }
    #elif defined(__APPLE__)
          {
-            if (driver) {
+            if (driver)
                defaultDriver = driver;
-            } else {
-               defaultDriver = "X"; //"CocoaOpenGL";
-            }
+            else
+               defaultDriver = "NCurses"; //"CocoaOpenGL";
          }
    #elif defined(__ANDROID__)
          {