[PATCH] Default some graphs to false

Miika Turkia miika.turkia at gmail.com
Sun Dec 14 11:15:52 PST 2014


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 <miika.turkia at gmail.com>
---
 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



More information about the subsurface mailing list