From 22c10b01ea96a73599896f66b0600c8a60f426e2 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 27 Apr 2009 20:08:12 +0200 Subject: g_spawn_command_line_async returns boolean, so logic is inversed --- uzbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uzbl.c') diff --git a/uzbl.c b/uzbl.c index de00c5f..91c2cff 100644 --- 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; } -- cgit v1.2.3