From d58e7321dea16b45d007f0074f15fbebd1a87d4c Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 20 Dec 2007 22:57:29 +0000 Subject: [PATCH] added comment svn path=/trunk/; revision=24420 --- app/actions/plug-in-actions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/actions/plug-in-actions.c b/app/actions/plug-in-actions.c index b4ed0c81ec..9a0cb87df6 100644 --- a/app/actions/plug-in-actions.c +++ b/app/actions/plug-in-actions.c @@ -629,8 +629,8 @@ plug_in_actions_build_path (GimpActionGroup *group, if (p1 && p2 && ! g_hash_table_lookup (path_table, copy_original)) { - gchar *label; GtkAction *action; + gchar *label; label = p2 + 1; @@ -648,6 +648,7 @@ plug_in_actions_build_path (GimpActionGroup *group, *p1 = '\0'; *p2 = '\0'; + /* recursively call ourselves with the last part of the path removed */ plug_in_actions_build_path (group, copy_original, copy_translated); }