When encountering disabled entries, we want to keep going. Given that
these particular keys have nonstandard scrolling, but the handling there.
break;
case '-':
- entry--;
- top--;
+ do {
+ entry--;
+ top--;
+ } while (entry > 0 && is_disabled(cm->menu_entries[entry]));
break;
case '+':
- entry++;
- top++;
+ do {
+ entry++;
+ top++;
+ } while (entry < cm->nentries-1 && is_disabled(cm->menu_entries[entry]));
break;
case KEY_CTRL('A'):