remove spurious single quotes in mailcap_get_command_in_file()
authorPaul <paul@claws-mail.org>
Wed, 24 Feb 2016 20:02:46 +0000 (20:02 +0000)
committerPaul <paul@claws-mail.org>
Wed, 24 Feb 2016 20:02:46 +0000 (20:02 +0000)
src/common/utils.c

index 1197b356b8dc9e7aa7f106a59d7391bddd956129..80e0d7e5ae4e7ed3d5d5f15ed95176c541d82ecd 100644 (file)
@@ -4569,7 +4569,7 @@ static gchar *mailcap_get_command_in_file(const gchar *path, const gchar *type,
                                gchar *end = g_strdup(strstr(result, "%s")+2);
                                gchar *tmp;
                                *strstr(start, "%s") = '\0';
                                gchar *end = g_strdup(strstr(result, "%s")+2);
                                gchar *tmp;
                                *strstr(start, "%s") = '\0';
-                               tmp = g_strconcat(start,"'%s'",end, NULL);
+                               tmp = g_strconcat(start,"%s",end, NULL);
                                g_free(start);
                                g_free(end);
                                g_free(result);
                                g_free(start);
                                g_free(end);
                                g_free(result);