These values are treated as false upon starting Subsurface. Thus they
should be set to false as well. Otherwise extra graphs are drawn to the
profile when exiting the preferences dialog.

Fixes #783

Signed-off-by: Miika Turkia <[email protected]>
---
 subsurfacestartup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 22a41e4..8847ab3 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -18,8 +18,8 @@ struct preferences default_prefs = {
        .mod = false,
        .modpO2 = 1.6,
        .ead = false,
-       .hrgraph = true,
-       .percentagegraph = true,
+       .hrgraph = false,
+       .percentagegraph = false,
        .dcceiling = true,
        .redceiling = false,
        .calcceiling = false,
-- 
1.9.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to