summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-23 14:23:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-23 14:23:58 -0700
commit8c0c6bad59b588de4fe1e8983d76ded16538fc44 (patch)
treed269d4f8b1f6ce20847de6da6140f608b5c38323 /gtk-gui.c
parentbf13c14d16fdb1aa0230f688ff88635f395c6887 (diff)
downloadsubsurface-8c0c6bad59b588de4fe1e8983d76ded16538fc44.tar.gz
Fix oversight in preference implementation
Not being careful enough doing copy and paste and then making manual changes... this inconsistency caused subsurface to always store the opposite of what you wanted in the preferences for SAC and O2%. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 9eb23ab18..47cab62fa 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -649,9 +649,9 @@ void init_ui(int argc, char **argv)
/* an unset key is FALSE - all these are hidden by default */
visible_cols.cylinder = gconf_client_get_bool(gconf, GCONF_NAME(CYLINDER), NULL);
visible_cols.temperature = gconf_client_get_bool(gconf, GCONF_NAME(TEMPERATURE), NULL);
- visible_cols.nitrox = ! gconf_client_get_bool(gconf, GCONF_NAME(NITROX), NULL);
+ visible_cols.nitrox = gconf_client_get_bool(gconf, GCONF_NAME(NITROX), NULL);
visible_cols.otu = gconf_client_get_bool(gconf, GCONF_NAME(OTU), NULL);
- visible_cols.sac = ! gconf_client_get_bool(gconf, GCONF_NAME(SAC), NULL);
+ visible_cols.sac = gconf_client_get_bool(gconf, GCONF_NAME(SAC), NULL);
divelist_font = gconf_client_get_string(gconf, GCONF_NAME(divelist_font), NULL);
if (!divelist_font)