explorer: fixed (bool)path[0]
[ede] / 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);