summary refs log tree commit diff
path: root/menu.c
diff options
context:
space:
mode:
authorokan <okan>2015-06-05 14:54:04 +0000
committerokan <okan>2015-06-05 14:54:04 +0000
commitf22a3b1065a2b71acfc422cb447445452929b834 (patch)
tree69e1dd6a201cda587f82371e04e22f8e4b613a99 /menu.c
parentd9f38134bee3a61964358b2a7f3a136264ec1c4a (diff)
downloadcwm-f22a3b1065a2b71acfc422cb447445452929b834.tar.gz
cwm-f22a3b1065a2b71acfc422cb447445452929b834.tar.xz
cwm-f22a3b1065a2b71acfc422cb447445452929b834.zip
redundant check for 'list'
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 1026347..f9a0354 100644
--- a/menu.c
+++ b/menu.c
@@ -338,7 +338,7 @@ menu_draw(struct menu_ctx *mc, struct menu_q *menuq, struct menu_q *resultq)
 	int			 n, xsave, ysave;
 
 	if (mc->list) {
-		if (TAILQ_EMPTY(resultq) && mc->list) {
+		if (TAILQ_EMPTY(resultq)) {
 			/* Copy them all over. */
 			TAILQ_FOREACH(mi, menuq, entry)
 				TAILQ_INSERT_TAIL(resultq, mi,