From: Paul Mangan Date: Thu, 23 Aug 2001 11:25:16 +0000 (+0000) Subject: fix open attachment with whitespace bug X-Git-Tag: pre_compose_gui_improvement~42 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=0a3f9ef85a5adc87341a7073e0d3a4fd5b54d7f9;ds=inline fix open attachment with whitespace bug --- diff --git a/ChangeLog.claws b/ChangeLog.claws index cc5eabc9d..b6e899458 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -5,6 +5,10 @@ * sync with sylpheed 0.5.3cvs5 + * src/mimeview.c + double quote '%s' in 'gedit %s' to fix bug when + opening attachment with spaces in the name + 2001-08-22 [alte] * src/Makefile.am, src/compose.[ch], src/defs.h, src/mainwindow.c, src/prefs_templates.[ch], src/template.[ch], src/template_select.[ch] diff --git a/src/mimeview.c b/src/mimeview.c index fc5e252ba..b12254193 100644 --- a/src/mimeview.c +++ b/src/mimeview.c @@ -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);