client: add explicit braces

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-18 11:01:48 +01:00
parent 7a20d2fd58
commit 1d759531c4
1 changed files with 2 additions and 0 deletions

View File

@ -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);