summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-01-07 03:11:19 +0100
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-06 20:43:23 -0800
commit935734100f07092800ec4467b88c59a9a4efd572 (patch)
tree20a3398c4f7bece093928f754a84e975f74f6ffb /core/subsurfacestartup.c
parentbb4bf639c333bee28d398c3670f52797d726b126 (diff)
downloadsubsurface-935734100f07092800ec4467b88c59a9a4efd572.tar.gz
Rename prefs.deco_mode to prefs.planner_deco_mode
This is to avoid confusion with planner.display_deco_mode. When accessing the "current deco mode" use the decoMode() helper function. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 200e23bef..c740153bf 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -86,7 +86,7 @@ struct preferences default_prefs = {
.locale = {
.use_system_language = true,
},
- .deco_mode = BUEHLMANN,
+ .planner_deco_mode = BUEHLMANN,
.vpmb_conservatism = 3,
.distance_threshold = 1000,
.time_threshold = 600,