mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Picture handling: switch to stronger typed offset
Also change the on file XML to be even easier to read by making it a duration as well (which gets us '32:34 min' instead of un-typed seconds). This is backwards compatible, it will happily read what was written with the previous commit). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b0983d9d13
commit
a26719c541
5 changed files with 9 additions and 9 deletions
2
dive.h
2
dive.h
|
|
@ -289,7 +289,7 @@ struct dive {
|
|||
/* picture list and methods related to dive picture handling */
|
||||
struct picture {
|
||||
char *filename;
|
||||
int32_t offset;
|
||||
duration_t offset;
|
||||
degrees_t latitude;
|
||||
degrees_t longitude;
|
||||
struct picture *next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue