Fixes to run the new Explorer on Windows
[ede] / newexplorer / src / ExplorerWindow.ec
index a1b1aa6..98b1971 100644 (file)
@@ -98,6 +98,11 @@ class ExplorerWindow : Window
                char * path = view.path;
                char * newPath = new char[strlen(path)];
                StripLastDirectory(path, newPath);
+               if(!newPath[0])
+               {
+                  newPath[0] = '/';
+                  newPath[1] = 0;
+               }
                view.path = newPath;
                delete newPath;
                break;