| 91 | } |
| 92 | |
| 93 | int normalizemenuselection(int sel, int length) |
| 94 | { |
| 95 | if (sel < 0) sel = length > 0 ? length - 1 : 0; |
| 96 | else if (sel >= length) sel = 0; |
| 97 | return sel; |
| 98 | } |
| 99 | |
| 100 | void menuselect(void *menu, int sel) |
| 101 | { |
no outgoing calls
no test coverage detected