forked from RepoMirrors/bemenu
Clarify which enums the functions are mapped to.
This commit is contained in:
parent
f090160ab9
commit
722af2f7a0
@ -8,9 +8,12 @@
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
|
||||
/**
|
||||
* Filter function map.
|
||||
*/
|
||||
static bmItem** (*filterFunc[BM_FILTER_MODE_LAST])(bmMenu *menu, unsigned int *count, unsigned int *selected) = {
|
||||
_bmFilterDmenu,
|
||||
_bmFilterDmenuCaseInsensitive
|
||||
_bmFilterDmenu, /* BM_FILTER_DMENU */
|
||||
_bmFilterDmenuCaseInsensitive /* BM_FILTER_DMENU_CASE_INSENSITIVE */
|
||||
};
|
||||
|
||||
static void _bmMenuFilter(bmMenu *menu)
|
||||
|
Loading…
Reference in New Issue
Block a user