diff options
author | oga | 2008-05-15 22:18:00 +0000 |
---|---|---|
committer | oga | 2008-05-15 22:18:00 +0000 |
commit | 6a2c99a2df8d170eda74cccacbb5a5225d617d21 (patch) | |
tree | 0c8e74b70b51716961b2eb2057f7a26aa4e58de4 /group.c | |
parent | 15b4ab26e054ad00b82c48c070089cdb52cc823c (diff) | |
download | cwm-6a2c99a2df8d170eda74cccacbb5a5225d617d21.tar.gz |
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to '')
-rw-r--r-- | group.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.11 2008/04/16 13:38:09 oga Exp $ + * $Id: group.c,v 1.12 2008/05/15 22:18:00 oga Exp $ */ #include "headers.h" @@ -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); |