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 1197b35..80e0d7e 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';
-                               tmp = g_strconcat(start,"'%s'",end, NULL);
+                               tmp = g_strconcat(start,"%s",end, NULL);
                                g_free(start);
                                g_free(end);
                                g_free(result);