From: johanengelen Date: Thu, 4 Jan 2007 22:39:33 +0000 (+0000) Subject: Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=738da699742d86cd37f0b0c5b2333ad97e23b34f;p=inkscape.git Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes --- 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) {