made for/if/else constructs more consistent, some code polishing

This commit is contained in:
Anselm R. Garbe committed 2007-02-14 09:09:18 +01:00
1 parent 64cfebc5e7
commit e256afe31e
5 files changed
+18 -21

No files matched your search

+1 -2
View File
@@ -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",