diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index b04609d7bb..38b9662b48 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -1679,7 +1679,7 @@ bool set_option(char* string, void* variable, enum optiontype type, | |||
1679 | case BUTTON_MENU: | 1679 | case BUTTON_MENU: |
1680 | #endif | 1680 | #endif |
1681 | if (((type==INT) && (*intvar != oldval)) || | 1681 | if (((type==INT) && (*intvar != oldval)) || |
1682 | ((type==BOOL) && (*boolvar != oldval))) { | 1682 | ((type==BOOL) && ((int)*boolvar != oldval))) { |
1683 | if (type==INT) | 1683 | if (type==INT) |
1684 | *intvar=oldval; | 1684 | *intvar=oldval; |
1685 | else | 1685 | else |