client: add explicit braces
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7a20d2fd58
commit
1d759531c4
2
client.c
2
client.c
|
@ -67,10 +67,12 @@ client_loadprops(client_t * c, screen_t *screen)
|
||||||
/* ignore property if the tag count isn't matching */
|
/* ignore property if the tag count isn't matching */
|
||||||
if(len == tags->len)
|
if(len == tags->len)
|
||||||
for(int i = 0; i < tags->len; i++)
|
for(int i = 0; i < tags->len; i++)
|
||||||
|
{
|
||||||
if(prop[i] == '1')
|
if(prop[i] == '1')
|
||||||
tag_client(c, tags->tab[i]);
|
tag_client(c, tags->tab[i]);
|
||||||
else
|
else
|
||||||
untag_client(c, tags->tab[i]);
|
untag_client(c, tags->tab[i]);
|
||||||
|
}
|
||||||
|
|
||||||
p_delete(&prop);
|
p_delete(&prop);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue