diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-06 14:37:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-08 17:20:09 -0700 |
commit | 0424ee8996f231dbba1ffb6e6db087855dbb26a2 (patch) | |
tree | c4c0cf3650a7fe3f7ad8841500aad06b02ba7afe /core/dive.h | |
parent | 83c56bc34c4660c0d7bb725d475ddf7a1b3117d3 (diff) | |
download | subsurface-0424ee8996f231dbba1ffb6e6db087855dbb26a2.tar.gz |
cleanup: when planning a dive, set dive computer to first dc
When planning a dive, dc_number was set to 1, which actually is
the second dc! The code seems to handle this gracefully, however
it appears weird. Let's set dc_number to 0 instead.
Originally, the assignment was introduced in a422957cd6525b9753
and moved later in 4f5621c4c6acc3a.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
0 files changed, 0 insertions, 0 deletions