diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-03 21:08:49 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-03 21:08:49 +0900 |
commit | b38e2ab485756e33d4d8bbab8baf1969405a1d90 (patch) | |
tree | c3ac889102b6da5ad4c62fd02cbeb697c36c4028 /pref.h | |
parent | 77c4b8ef87fcbf0fd6be7cdd7581035bb96f0b58 (diff) | |
download | subsurface-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 'pref.h')
-rw-r--r-- | pref.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |