Ecere Software
/
ede
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08903b
)
explorer: using ShellOpen under windows and Execute for calling ide under linux until...
author
Rejean Loyer
<rejean.loyer@gmail.com>
Thu, 15 Sep 2011 01:35:59 +0000
(21:35 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Thu, 15 Sep 2011 01:35:59 +0000
(21:35 -0400)
explorer/src/ExplorerWindow.ec
patch
|
blob
|
history
diff --git
a/explorer/src/ExplorerWindow.ec
b/explorer/src/ExplorerWindow.ec
index
13406f1
..
20747ee
100644
(file)
--- 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;
}