From 722af2f7a0fe0e437e233cfaf7acadc3bcd0f24e Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 10 Apr 2014 11:07:37 +0300 Subject: [PATCH] Clarify which enums the functions are mapped to. --- lib/menu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/menu.c b/lib/menu.c index ccdbf0d..184c976 100644 --- a/lib/menu.c +++ b/lib/menu.c @@ -8,9 +8,12 @@ #include #include +/** + * 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)