projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda2056
)
g_spawn_command_line_async returns boolean, so logic is inversed
author
Dieter Plaetinck
<dieter@plaetinck.be>
Mon, 27 Apr 2009 18:08:12 +0000
(20:08 +0200)
committer
Dieter Plaetinck
<dieter@plaetinck.be>
Mon, 27 Apr 2009 18:08:12 +0000
(20:08 +0200)
uzbl.c
patch
|
blob
|
history
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;
}