summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r--apps/gui/option_select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index af281dc07c..afc11fc4ee 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -36,8 +36,8 @@
36#include "menu.h" 36#include "menu.h"
37#include "quickscreen.h" 37#include "quickscreen.h"
38 38
39/* HASFLAG compares value to a (SINGLE) flag returns true if set, false otherwise */ 39/* HASFLAG compares value to flags returns true if set, false otherwise */
40#define HASFLAG(settings_list, flag) ((settings_list->flags & flag) == flag) 40#define HASFLAG(settings_list, flag) ((settings_list->flags & (flag)) == (flag))
41 41
42static int selection_to_val(const struct settings_list *setting, int selection); 42static int selection_to_val(const struct settings_list *setting, int selection);
43int option_value_as_int(const struct settings_list *setting) 43int option_value_as_int(const struct settings_list *setting)