ide/ModelView: Patch to build with MemoryGuard
authorJerome St-Louis <jerome@ecere.com>
Fri, 25 Apr 2014 23:34:35 +0000 (19:34 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 25 Apr 2014 23:34:35 +0000 (19:34 -0400)
ide/src/documents/ModelView.ec

index 495b8c8..d3543c9 100644 (file)
@@ -49,11 +49,8 @@ class ModelView : Window
 
    property char * modelFile
    {
-      set
-      {
-         strcpy(fileName, value);
-      }
-      get { return fileName; }
+      set { strcpy(fileName, value); }
+      get { return (char *)fileName; }
    }
 
    void OnUnloadGraphics()