X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=explorer%2Fsrc%2FExplorerWindow.ec;fp=explorer%2Fsrc%2FExplorerWindow.ec;h=fa7bf4ccc1b392f136f94a7cd8382b5129ff729b;hp=c5573728b79bcfc7a02b460f24753cea346d43fc;hb=4fc0669415b9f2bd30e0322acd9b03a688e36d4f;hpb=01dca8b87f3635bd0b8d2309d16fb1070601457c diff --git a/explorer/src/ExplorerWindow.ec b/explorer/src/ExplorerWindow.ec index c557372..fa7bf4c 100644 --- a/explorer/src/ExplorerWindow.ec +++ b/explorer/src/ExplorerWindow.ec @@ -357,20 +357,23 @@ class ExplorerWindow : Window { if(node.type.isFile) { + char path[MAX_LOCATION]; #ifndef __WIN32__ char command[MAX_LOCATION]; + node.GetPath(path); /*_FileType t = node.type; if(t == ewsFile || t == epjFile || t == ecFile || t == ehFile || t == cppFile || t == hppFile || t == cFile || t == hFile || t == textFile || t == webFile)*/ - sprintf(command, "ide %s", node.path); + sprintf(command, "ide %s", path); /*else - sprintf(command, "%s", node.path);*/ + sprintf(command, "%s", path);*/ Execute(command); #else - ShellOpen(node.path); + node.GetPath(path); + ShellOpen(path); #endif } else if(node.type.isFolder && tree.visible)