g_spawn_command_line_async returns boolean, so logic is inversed
authorDieter Plaetinck <dieter@plaetinck.be>
Mon, 27 Apr 2009 18:08:12 +0000 (20:08 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Mon, 27 Apr 2009 18:08:12 +0000 (20:08 +0200)
uzbl.c

diff --git a/uzbl.c b/uzbl.c
index de00c5f..91c2cff 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -233,7 +233,7 @@ run_command(const char *command, const char *args) {
     gboolean result;
     g_string_printf (to_execute, "%s '%s' '%i' '%i' '%s' %s", command, config_file, (int) getpid() , (int) xwin, "/tmp/uzbl_25165827", args);
     result = g_spawn_command_line_async (to_execute->str, NULL);
-    printf("Called %s.  Result: %s\n", to_execute->str, (result ? "FALSE" : "TRUE" ));
+    printf("Called %s.  Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" ));
     return result;
 }