summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-09-08 21:01:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-09-08 21:01:58 (GMT)
commitc03635088f26a18cdbd42c2528f00b9ccd8591d9 (patch)
tree9e9476353a137465c1f1595a89d859712df38136 /src/glibext
parentd7f0eeafe11369f20f001e43570a58a712af83f2 (diff)
Added a few configuration parameters for the main window.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@400 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/configuration.c2
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: