From 6c88ddc63e430f623766abb0b71f56e53f66c5ad Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 8 Mar 2008 14:56:55 +0100 Subject: [PATCH] [awesome-menu] Cosmetic changes; init var with nice value and remove else statement --- awesome-menu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/awesome-menu.c b/awesome-menu.c index 2048953b2..3a77a40db 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -172,12 +172,10 @@ static void complete(Bool reverse) { item_t *item = NULL; - item_t *(*item_iter)(item_t **, item_t *); + item_t *(*item_iter)(item_t **, item_t *) = item_list_next; if(reverse) item_iter = item_list_prev; - else - item_iter = item_list_next; if(globalconf.item_selected) item = item_iter(&globalconf.items, globalconf.item_selected);