Ecere Software
/
ede
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes to run the new Explorer on Windows
[ede]
/
newexplorer
/
src
/
ExplorerWindow.ec
diff --git
a/newexplorer/src/ExplorerWindow.ec
b/newexplorer/src/ExplorerWindow.ec
index
a1b1aa6
..
98b1971
100644
(file)
--- a/
newexplorer/src/ExplorerWindow.ec
+++ b/
newexplorer/src/ExplorerWindow.ec
@@
-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;