diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-08 12:34:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-08 12:42:51 -0700 |
commit | a55411c55894f4c238598c9ad93d9e20604f8bdd (patch) | |
tree | 28e969349bb3b7f08bf4d9dbf093eb6e3743e0d1 /dive.h | |
parent | f037f03268f2676bf906f19353871186af297d12 (diff) | |
download | subsurface-a55411c55894f4c238598c9ad93d9e20604f8bdd.tar.gz |
Picture handling: keep picture list sorted
And simplify the list handling algorithm.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ struct picture { extern struct picture *alloc_picture(); extern void dive_create_picture(struct dive *d, char *filename, int shift_time); -extern void dive_add_picture(struct dive *d, struct picture *pic); +extern void dive_add_picture(struct dive *d, struct picture *newpic); extern void dive_remove_picture(struct dive *d, struct picture *pic); extern unsigned int dive_get_picture_count(struct dive *d); extern void picture_load_exif_data(struct picture *p); |