X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=newexplorer%2Fsrc%2FExplorerWindow.ec;h=a1b1aa638967137888e4a6e7c4d5fca9771f9deb;hp=98b197145d347cabf80680f6df97aa27771b9b6c;hb=785c0a6a78bec0eb310b9df46d5fae398aa66ead;hpb=c3c07aa52ae2c7d74ac9ffcbff9060dfae6404aa;ds=sidebyside diff --git a/newexplorer/src/ExplorerWindow.ec b/newexplorer/src/ExplorerWindow.ec index 98b1971..a1b1aa6 100644 --- a/newexplorer/src/ExplorerWindow.ec +++ b/newexplorer/src/ExplorerWindow.ec @@ -98,11 +98,6 @@ 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;