diff options
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r-- | apps/gui/option_select.c | 4 |
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 | ||
42 | static int selection_to_val(const struct settings_list *setting, int selection); | 42 | static int selection_to_val(const struct settings_list *setting, int selection); |
43 | int option_value_as_int(const struct settings_list *setting) | 43 | int option_value_as_int(const struct settings_list *setting) |