diff options
Diffstat (limited to 'core/dive.c')
-rw-r--r-- | core/dive.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/dive.c b/core/dive.c index 945c13426..38ed10761 100644 --- a/core/dive.c +++ b/core/dive.c @@ -3440,6 +3440,14 @@ void set_informational_units(char *units) } } +void set_git_prefs(char *prefs) +{ + if (strstr(prefs, "TANKBAR")) + git_prefs.tankbar = 1; + if (strstr(prefs, "DCCEILING")) + git_prefs.dcceiling = 1; +} + void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth) { int integral = 0; |