| 1838 | } |
| 1839 | |
| 1840 | staticfn boolean |
| 1841 | get_menu_coloring(const char *str, int *color, int *attr) |
| 1842 | { |
| 1843 | struct menucoloring *tmpmc; |
| 1844 | |
| 1845 | if (iflags.use_menu_color) |
| 1846 | for (tmpmc = gm.menu_colorings; tmpmc; tmpmc = tmpmc->next) |
| 1847 | if (regex_match(str, tmpmc->match)) { |
| 1848 | *color = tmpmc->color; |
| 1849 | *attr = tmpmc->attr; |
| 1850 | return TRUE; |
| 1851 | } |
| 1852 | return FALSE; |
| 1853 | } |
| 1854 | |
| 1855 | int |
| 1856 | select_menu(winid window, int how, menu_item **menu_list) |
no test coverage detected