diff options
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/configuration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibext/configuration.c b/src/glibext/configuration.c index 30cbcaf..3becaaa 100644 --- a/src/glibext/configuration.c +++ b/src/glibext/configuration.c @@ -574,7 +574,7 @@ ConfigParamState g_config_param_get_state(GCfgParam *param) switch (param->type) { case CPT_BOOLEAN: - param->cached_state = (param->def.boolean && param->cur.boolean ? CPS_DEFAULT : CPS_CHANGED); + param->cached_state = (param->def.boolean == param->cur.boolean ? CPS_DEFAULT : CPS_CHANGED); break; case CPT_INTEGER: |