diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-settings.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index b3a24e3b..694318f6 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -100,7 +100,10 @@ static void cmd_set(char *data) /* change the setting */ switch (rec->type) { case SETTING_TYPE_BOOLEAN: - set_boolean(key, clear ? FALSE : value); + if (clear) + settings_set_bool(key, FALSE); + else + set_boolean(key, value); break; case SETTING_TYPE_INT: settings_set_int(key, clear ? 0 : atoi(value)); |