ecere/com: Fixed improper cast to bool type
authorJerome St-Louis <jerome@ecere.com>
Wed, 23 Apr 2014 16:58:53 +0000 (12:58 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 23 Apr 2014 16:58:53 +0000 (12:58 -0400)
ecere/src/com/instance.ec

index a27effa..cf4bee8 100644 (file)
@@ -6435,7 +6435,7 @@ public enum Platform
    bool OnGetDataFromString(char * string)
    {
       this = string;
-      return (bool)this;
+      return this != null;
    }
 };