fix open attachment with whitespace bug
[claws.git] / src / mimeview.c
index fc5e252ba270aaf39ead45216ca85456d5b145eb..b12254193d8c2151d5d7ee463c4ca9289ecddada 100644 (file)
@@ -777,7 +777,7 @@ static void mimeview_open_with(MimeView *mimeview)
                        (_("Open with"),
                         _("Enter the command line to open file:\n"
                           "(`%s' will be replaced with file name)"),
-                        "gedit %s");
+                        "gedit \"%s\"");
                if (cmd) {
                        mimeview_view_file(filename, partinfo, cmd);
                        g_free(cmd);