diff options
author | oga <oga> | 2008-05-15 22:18:00 +0000 |
---|---|---|
committer | oga <oga> | 2008-05-15 22:18:00 +0000 |
commit | 5034a77849c3a0ed91b67d1de65f063c9056cbc7 (patch) | |
tree | c91c89a750d267bdd603a86f14323fd420cf6c80 /group.c | |
parent | ec77265b87ceb612df9d02cdf0336cdf77d3099d (diff) | |
download | cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.gz cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.xz cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.zip |
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/group.c b/group.c index 9f01b7e..5d6175a 100644 --- a/group.c +++ b/group.c @@ -272,10 +272,10 @@ group_menu(XButtonEvent *e) XCALLOC(mi, struct menu); if (gc->hidden) snprintf(mi->text, sizeof(mi->text), "%d: [%s]", - gc->shortcut, gc->name); + gc->shortcut, gc->name); else snprintf(mi->text, sizeof(mi->text), "%d: %s", - gc->shortcut, gc->name); + gc->shortcut, gc->name); mi->ctx = gc; TAILQ_INSERT_TAIL(&menuq, mi, entry); } @@ -295,7 +295,7 @@ group_menu(XButtonEvent *e) else _group_hide(gc); - cleanup: +cleanup: while ((mi = TAILQ_FIRST(&menuq)) != NULL) { TAILQ_REMOVE(&menuq, mi, entry); xfree(mi); |