From e256afe31ef6a70eceb632ddfe717bfe6d8d9169 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 14 Feb 2007 09:09:18 +0100 Subject: made for/if/else constructs more consistent, some code polishing --- tag.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tag.c') diff --git a/tag.c b/tag.c index bc731c9..f9aef0b 100644 --- a/tag.c +++ b/tag.c @@ -78,10 +78,9 @@ settags(Client *c, Client *trans) { Bool matched = trans != NULL; XClassHint ch = { 0 }; - if(matched) { + if(matched) for(i = 0; i < ntags; i++) c->tags[i] = trans->tags[i]; - } else { XGetClassHint(dpy, c->win, &ch); snprintf(prop, sizeof prop, "%s:%s:%s", -- cgit v1.2.3-70-g09d2