[gimp] plug-ins: fix coding style in the last commit



commit 899c35e4df457c7814da795803ee0f29d50e824a
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 9 20:49:45 2012 +0100

    plug-ins: fix coding style in the last commit

 plug-ins/help-browser/dialog.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/help-browser/dialog.c b/plug-ins/help-browser/dialog.c
index 3a2dde0..ee1ff4a 100644
--- a/plug-ins/help-browser/dialog.c
+++ b/plug-ins/help-browser/dialog.c
@@ -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
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]