projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a8a2375
)
Break loop if is_true was set to false in If
author
Mikael Magnusson
<mikachu@gmail.com>
Tue, 17 Sep 2013 16:52:11 +0000
(18:52 +0200)
committer
Mikael Magnusson
<mikachu@gmail.com>
Thu, 10 Apr 2014 20:29:01 +0000
(22:29 +0200)
openbox/actions/if.c
patch
|
blob
|
history
diff --git
a/openbox/actions/if.c
b/openbox/actions/if.c
index
67d067e
..
fd8e1bd
100644
(file)
--- a/
openbox/actions/if.c
+++ b/
openbox/actions/if.c
@@
-313,7
+313,7
@@
static gboolean run_func_if(ObActionsData *data, gpointer options)
gboolean is_true = TRUE;
guint i;
gboolean is_true = TRUE;
guint i;
- for (i = 0; i < o->queries->len; ++i) {
+ for (i = 0; i
s_true && i
< o->queries->len; ++i) {
Query *q = g_array_index(o->queries, Query*, i);
ObClient *query_target = NULL;
Query *q = g_array_index(o->queries, Query*, i);
ObClient *query_target = NULL;