Break loop if is_true was set to false in If
This commit is contained in:
parent
a8a2375c44
commit
f469a46da1
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ static gboolean run_func_if(ObActionsData *data, gpointer options)
|
|||
gboolean is_true = TRUE;
|
||||
|
||||
guint i;
|
||||
for (i = 0; i < o->queries->len; ++i) {
|
||||
for (i = 0; is_true && i < o->queries->len; ++i) {
|
||||
Query *q = g_array_index(o->queries, Query*, i);
|
||||
ObClient *query_target = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue