summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
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;