summaryrefslogtreecommitdiffstats
path: root/commands/command_pictures.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-19 17:01:58 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-06 13:58:09 -0700
commit6ae2d36e381b4f676eb9d8c0e06245989ef16383 (patch)
tree169e0b4119fc9c549a32528952215cd78a64221d /commands/command_pictures.cpp
parent74f03e3537ee530000d4b11013bb12de91cb21dd (diff)
downloadsubsurface-6ae2d36e381b4f676eb9d8c0e06245989ef16383.tar.gz
core: move picture-related function from dive.c to picture.c
Move the two functions create_picture() and picture_check_valid_time() from dive.c to picture.c. This might be somewhat questionable, as these functions are not purely picture related, but check the nearest selected dives, etc. However, dive.c is so huge, that slimming it down can't hurt. Moreover, getting the nearest selected dive is more divelist- than dive functionality anyway. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_pictures.cpp')
0 files changed, 0 insertions, 0 deletions