explorer: fixed (bool)path[0]
authorRejean Loyer <rejean.loyer@gmail.com>
Thu, 15 Sep 2011 03:22:32 +0000 (23:22 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Thu, 15 Sep 2011 03:26:21 +0000 (23:26 -0400)
explorer/src/Explorer.ec

index f1f2958..da5dce5 100644 (file)
@@ -117,7 +117,7 @@ struct QuickPathTool
       }
       get { return path[0] ? path : null; }
    }
-   property bool { get { return (bool)path[0]; } }
+   property bool { get { return path[0] != '\0'; } }
 };
 
 define app = ((Explorer)__thisModule);