From b38e2ab485756e33d4d8bbab8baf1969405a1d90 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 3 Jun 2013 21:08:49 +0900 Subject: 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 --- pref.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pref.h') diff --git a/pref.h b/pref.h index 376cc4a71..f722dd130 100644 --- a/pref.h +++ b/pref.h @@ -45,8 +45,10 @@ struct preferences { int map_provider; short display_invalid_dives; short show_invalid; + short unit_system; struct units units; }; +enum unit_system_values { METRIC, IMPERIAL, PERSONALIZE }; extern struct preferences prefs, default_prefs; -- cgit v1.2.3-70-g09d2