diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 87b768fc..dccfcba9 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -94,7 +94,7 @@ static void cmd_set(char *data) for (tmp = sets; tmp != NULL; tmp = tmp->next) { SETTINGS_REC *rec = tmp->data; - if (((clear || *value != '\0') && g_strcasecmp(rec->key, key) != 0) || + if (((clear || set_default || *value != '\0') && g_strcasecmp(rec->key, key) != 0) || (*value == '\0' && *key != '\0' && stristr(rec->key, key) == NULL)) continue;