diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-01-04 22:39:33 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-01-04 22:39:33 +0000 |
| commit | 80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f (patch) | |
| tree | 003d6cf4069dcac502f3cdc97cca0dc8409095d8 /src | |
| parent | Fixed [ 1628085 ] PNG file not created/not recognized by WINXP, where the act... (diff) | |
| download | inkscape-80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f.tar.gz inkscape-80d0755086b7fa01ae9dc4b3fbff0b97ae63b52f.zip | |
Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes
(bzr r2130)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/implementation/script.cpp | 4 |
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) { |
