[frogr] Fixed small coding style issue



commit 61f5d3375a00eb72fe1522a2abea0907110bd9d8
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu May 26 19:15:51 2011 +0200

    Fixed small coding style issue

 src/frogr-util.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/src/frogr-util.c b/src/frogr-util.c
index b658092..8a22e88 100644
--- a/src/frogr-util.c
+++ b/src/frogr-util.c
@@ -33,15 +33,16 @@ _spawn_command (const gchar* cmd)
 {
   GError *error = NULL;
 
-  if (!g_spawn_command_line_async (cmd, &error)) {
-    if (error != NULL)
-      {
-        DEBUG ("Error spawning command '%s': %s", cmd, error->message);
-        g_error_free (error);
-      }
-    return FALSE;
-  }
+  if (!g_spawn_command_line_async (cmd, &error))
+    {
+      if (error != NULL)
+        {
+          DEBUG ("Error spawning command '%s': %s", cmd, error->message);
+          g_error_free (error);
+        }
 
+      return FALSE;
+    }
   return TRUE;
 }
 #endif



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