[frogr] Fixed small coding style issue
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Fixed small coding style issue
- Date: Thu, 26 May 2011 17:15:57 +0000 (UTC)
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]