summary refs log tree commit diff
path: root/search.c
diff options
context:
space:
mode:
authorokan <okan>2014-02-08 02:49:30 +0000
committerokan <okan>2014-02-08 02:49:30 +0000
commit8ddc90665e293efeb810ce73b871ee6e4f6ce68a (patch)
treef9420dc05d83dbd934bbb425161603bb0c4b4bb8 /search.c
parent8653141b4b5d76bd7238003cf43034681c7724a4 (diff)
parent6798e3dde302febeef3aa641eadea55d394461ff (diff)
downloadcwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.tar.gz
cwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.tar.xz
cwm-8ddc90665e293efeb810ce73b871ee6e4f6ce68a.zip
cvsimport
Diffstat (limited to 'search.c')
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index 4424a8e..980cb54 100644
--- a/search.c
+++ b/search.c
@@ -143,7 +143,7 @@ search_print_client(struct menu *mi, int list)
 		cc->matchname = cc->name;
 
 	(void)snprintf(mi->print, sizeof(mi->print), "(%d) %c%s",
-	    cc->group ? cc->group->shortcut : 0, flag, cc->matchname);
+	    cc->group->shortcut, flag, cc->matchname);
 
 	if (!list && cc->matchname != cc->name &&
 	    strlen(mi->print) < sizeof(mi->print) - 1) {