diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-19 18:40:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-20 21:23:16 -0700 |
commit | 4fe9b39cdbb5839830281820621059cefc26a03a (patch) | |
tree | 952d4b3449c32c644140e94f8da38cf389135955 /gpl-2.0.txt | |
parent | ac590235c94fc2feb1f35a5cd290ea87f1a92044 (diff) | |
download | subsurface-4fe9b39cdbb5839830281820621059cefc26a03a.tar.gz |
Core: let count_divecomputers() operate on an arbitrary dive
Currently, count_divecomputers only works on the current_dive.
Instead, let it take a pointer to an arbitrary dive. This is
in preparation for being smarter in the undo code concerning
which dive computer to show on deletion.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions