summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-03 21:08:49 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-03 21:08:49 +0900
commitb38e2ab485756e33d4d8bbab8baf1969405a1d90 (patch)
treec3ac889102b6da5ad4c62fd02cbeb697c36c4028 /main.c
parent77c4b8ef87fcbf0fd6be7cdd7581035bb96f0b58 (diff)
downloadsubsurface-b38e2ab485756e33d4d8bbab8baf1969405a1d90.tar.gz
Tie all the pieces together and make Preferences work as intended
Not Apply / Close without Saving / OK work as designed. And things get correctly stored and reset. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index f02982289..ca64b5518 100644
--- a/main.c
+++ b/main.c
@@ -15,6 +15,7 @@
struct preferences prefs;
struct preferences default_prefs = {
.units = SI_UNITS,
+ .unit_system = METRIC,
.visible_cols = { TRUE, FALSE, },
.pp_graphs = {
.po2 = FALSE,