Lines Matching refs:max_choice
126 int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status;
146 max_choice = MIN (list_height, item_no);
210 for (i = 0; i < max_choice; i++) {
227 for (i = 0; i < max_choice; i++)
232 if ( i < max_choice || key == KEY_UP || key == KEY_DOWN ||
261 if (choice == max_choice - 1) {
267 print_item (list, items[scroll + max_choice - 1]->name,
268 status[scroll + max_choice - 1],
269 max_choice - 1, FALSE);
275 print_item (list, items[scroll + max_choice - 1]->name,
276 status[scroll + max_choice - 1],
277 max_choice - 1, TRUE);
333 for (i = 0; i < max_choice; i++)