summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-01-04 22:39:33 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-01-04 22:39:33 +0000
commit80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f (patch)
tree003d6cf4069dcac502f3cdc97cca0dc8409095d8 /src/extension/implementation/script.cpp
parentFixed [ 1628085 ] PNG file not created/not recognized by WINXP, where the act... (diff)
downloadinkscape-80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f.tar.gz
inkscape-80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f.zip
Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes
(bzr r2130)
Diffstat (limited to 'src/extension/implementation/script.cpp')
-rw-r--r--src/extension/implementation/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index c3ce9bb3c..1de6504f1 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -347,8 +347,9 @@ Script::load(Inkscape::Extension::Extension *module)
if (interpretstr != NULL) {
Glib::ustring interpString =
resolveInterpreterExecutable(interpretstr);
- interpString .append(" ");
+ interpString .append(" \"");
interpString .append(command_text);
+ interpString .append("\"");
command_text = interpString;
}
}
@@ -551,7 +552,6 @@ Script::open(Inkscape::Extension::Input *module,
int data_read = execute(command, local_filename, tempfilename_out);
-
SPDocument *mydoc = NULL;
if (data_read > 10) {
if (helper_extension.size()==0) {