plug-ins: fix coding style in the last commit

This commit is contained in:
Michael Natterer 2012-01-09 20:49:45 +01:00
parent fd66a38dd6
commit 899c35e4df
1 changed files with 7 additions and 3 deletions

View File

@ -361,6 +361,7 @@ browser_dialog_make_index_foreach (const gchar *help_id,
GimpHelpLocale *locale)
{
gchar *sort_key = item->title;
#if DEBUG_SORT_HELP_ITEMS
g_printerr ("%s: processing %s (parent %s)\n",
G_STRFUNC,
@ -369,13 +370,15 @@ browser_dialog_make_index_foreach (const gchar *help_id,
#endif
if (item->sort &&
g_regex_match_simple("^[0-9]+([.][0-9]+)*$", item->sort, 0, 0))
g_regex_match_simple ("^[0-9]+([.][0-9]+)*$", item->sort, 0, 0))
{
sort_key = item->sort;
#if DEBUG_SORT_HELP_ITEMS
g_printerr("%s: sort key = %s\n", G_STRFUNC, sort_key);
g_printerr ("%s: sort key = %s\n", G_STRFUNC, sort_key);
#endif
}
item->index = 0;
if (sort_key)
@ -408,8 +411,9 @@ browser_dialog_make_index_foreach (const gchar *help_id,
}
g_strfreev (indices);
#if DEBUG_SORT_HELP_ITEMS
g_printerr("%s: index = %lu\n", G_STRFUNC, item->index);
g_printerr ("%s: index = %lu\n", G_STRFUNC, item->index);
#endif
}