From: Rejean Loyer Date: Thu, 15 Sep 2011 01:35:59 +0000 (-0400) Subject: explorer: using ShellOpen under windows and Execute for calling ide under linux until... X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=commitdiff_plain;h=59e63906501cec039fc6bd236e3fa430d31d6b77 explorer: using ShellOpen under windows and Execute for calling ide under linux until ShellOpen works. --- diff --git a/explorer/src/ExplorerWindow.ec b/explorer/src/ExplorerWindow.ec index 13406f1..20747ee 100644 --- a/explorer/src/ExplorerWindow.ec +++ b/explorer/src/ExplorerWindow.ec @@ -305,6 +305,7 @@ class ExplorerWindow : Window { if(node.type.isFile) { + #ifndef __WIN32__ char command[MAX_LOCATION]; /*_FileType t = node.type; if(t == ewsFile || t == epjFile || @@ -315,7 +316,10 @@ class ExplorerWindow : Window sprintf(command, "ide %s", node.path); /*else sprintf(command, "%s", node.path);*/ - ShellOpen(command); + Execute(command); + #else + ShellOpen(node.path); + #endif } return true; }