summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-03-24 19:11:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-28 11:17:03 -0700
commitbb31c77597f28976eb4784318fa7b01a28f3942b (patch)
treefc3c7c04dc0dcf89d51554289dd5537f9ff5c95e /core/subsurfacestartup.c
parent1d0281c9234e44ce4804f8c7f376cd9d4ee68f54 (diff)
downloadsubsurface-bb31c77597f28976eb4784318fa7b01a28f3942b.tar.gz
minimal pO2 threshold: split max threshold into min and max
Nothing really special here. Just a split of the only p02 max threshold into a min threshold and max threshold, and the adaptation of the UI. Change of translatable strings included. ref: https://github.com/Subsurface-divelog/subsurface/issues/259 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 89ecbd2fb..c2ab42583 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -20,7 +20,8 @@ struct preferences default_prefs = {
.po2 = false,
.pn2 = false,
.phe = false,
- .po2_threshold = 1.6,
+ .po2_threshold_min = 0.16,
+ .po2_threshold_max = 1.6,
.pn2_threshold = 4.0,
.phe_threshold = 13.0,
},