src/prefs_actions.c
authorMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 17 May 2002 11:35:26 +0000 (11:35 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 17 May 2002 11:35:26 +0000 (11:35 +0000)
Fixed bug where using %F not at the end of the command
resulted in an additional empty argument being created.
Thanks to Darko Koruga for reporting the bug.

ChangeLog.claws
configure.in
src/prefs_actions.c

index 9130c5d574dc1ac610f1a107bc5c0364dd79f47e..b600e4155773715d31e3bfd17ea844f8a1fec9d4 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-17 [melvin]    0.7.5claws30
+
+       * src/prefs_actions.c
+               Fixed bug where using %F not at the end of the command 
+               resulted in an additional empty argument being created.
+               Thanks to Darko Koruga for reporting the bug.
+
 2002-05-17 [melvin]    0.7.5claws29
 
        * po/fr.po
index 01b499c04022ed6f456593706779c965068e24a6..de89d8189e0f312b5c8a35c231c7ad74a618d785 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws29
+EXTRA_VERSION=claws30
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 2b27771fb8c78df3866cd39aa796e6cce3e6a4d4..3fa71081f587450383f2ed9bfc256521275599fa 100644 (file)
@@ -592,7 +592,8 @@ static gchar *parse_action_cmd              (gchar *action,
                                        msg = gtk_ctree_node_get_row_data(ctree,
                                              GTK_CTREE_NODE(cur->data));
                                        cmd = parse_append_filename(cmd, msg);
-                                       cmd = g_string_append_c(cmd, ' ');
+                                       if (cur->next)
+                                               cmd = g_string_append_c(cmd, ' ');
                                     }
                                     p++;
                                     break;