ecere/gui/GuiApplication; epj: Fixes to build with Emscripten
authorJerome St-Louis <jerome@ecere.com>
Thu, 10 Mar 2016 16:41:01 +0000 (11:41 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:11 +0000 (18:23 -0400)
ecere/ecere.epj
ecere/src/gui/GuiApplication.ec

index 6b89c69..5e763f2 100644 (file)
@@ -1088,6 +1088,12 @@ if distributed with the Ecere SDK Windows installer.
                                        "Options" : {
                                           "ExcludeFromBuild" : false
                                        }
+                                    },
+                                    {
+                                       "Name" : "Emscripten",
+                                       "Options" : {
+                                          "ExcludeFromBuild" : false
+                                       }
                                     }
                                  ]
                               },
@@ -1110,7 +1116,7 @@ if distributed with the Ecere SDK Windows installer.
                                     {
                                        "Name" : "Emscripten",
                                        "Options" : {
-                                          "ExcludeFromBuild" : false
+                                          "ExcludeFromBuild" : true
                                        }
                                     }
                                  ]
index 6792305..9827b8f 100644 (file)
@@ -1221,7 +1221,7 @@ public:
          for(link = class(Interface).derivatives.first; link; link = link.next)
          {
             bool foundDriver = false;
-            int c, numDrivers;
+            int c, numDrivers = 0;
             const char ** graphicsDrivers;
             inter = link.data;