Purely mechanical; unify 'num', 'no' and 'shortcut'.

This commit is contained in:
okan
2014-08-20 15:15:29 +00:00
parent 30da2211dd
commit b31b09dfc2
8 changed files with 30 additions and 31 deletions

View File

@@ -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->shortcut, flag, cc->matchname);
cc->group->num, flag, cc->matchname);
if (!list && cc->matchname != cc->name &&
strlen(mi->print) < sizeof(mi->print) - 1) {