diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-12-29 11:49:56 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-01-04 08:21:43 -0800 |
commit | 956cb53cd5610392b57c7c70a081608f99d44581 (patch) | |
tree | e1c9b6681c35ee0fb1da04e3ec45dd756d1edc81 /core/dive.h | |
parent | e414e0b334b1bdff7779fbe05d5207f614c2c79d (diff) | |
download | subsurface-956cb53cd5610392b57c7c70a081608f99d44581.tar.gz |
Turn autogroup from short into bool
All users of autogroup are clearly expecting a boolean value, so
let the type reflect this.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 6b6330790..4f9db7591 100644 --- a/core/dive.h +++ b/core/dive.h @@ -525,7 +525,7 @@ static inline depth_t gas_mnd(struct gasmix *mix, depth_t end, struct dive *dive #define SURFACE_THRESHOLD 750 /* somewhat arbitrary: only below 75cm is it really diving */ -extern short autogroup; +extern bool autogroup; /* random threashold: three days without diving -> new trip * this works very well for people who usually dive as part of a trip and don't * regularly dive at a local facility; this is why trips are an optional feature */ |