Clarify which enums the functions are mapped to.

This commit is contained in:
Jari Vetoniemi 2014-04-10 11:07:37 +03:00
parent f090160ab9
commit 722af2f7a0

View File

@ -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)