]> git.tokkee.org Git - inkscape.git/commitdiff

Code

Committed patch [ 1591411 ] [PATCH] Paths w/ spaces need to have double quotes
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 4 Jan 2007 22:39:33 +0000 (22:39 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 4 Jan 2007 22:39:33 +0000 (22:39 +0000)
src/extension/implementation/script.cpp

index c3ce9bb3c3c6aec2780fa51cf3c172a3496c3502..1de6504f150ad94b2c327e8bf06521d6f5f6078d 100644 (file)
@@ -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) {