summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
commit76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch)
tree8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /pref.h
parent006265d7a088cff4fea665159dbb454956c2cd76 (diff)
downloadsubsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/pref.h b/pref.h
index 83e88cdcd..dd895f0f2 100644
--- a/pref.h
+++ b/pref.h
@@ -6,7 +6,8 @@ extern "C" {
#endif
/* can't use 'bool' for the boolean values - different size in C and C++ */
-typedef struct {
+typedef struct
+{
short po2;
short pn2;
short phe;
@@ -40,7 +41,11 @@ struct preferences {
bool display_unused_tanks;
bool zoomed_plot;
};
-enum unit_system_values { METRIC, IMPERIAL, PERSONALIZE };
+enum unit_system_values {
+ METRIC,
+ IMPERIAL,
+ PERSONALIZE
+};
extern struct preferences prefs, default_prefs;