From a55411c55894f4c238598c9ad93d9e20604f8bdd Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 8 Jun 2014 12:34:18 -0700 Subject: Picture handling: keep picture list sorted And simplify the list handling algorithm. Signed-off-by: Dirk Hohndel --- dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dive.h') diff --git a/dive.h b/dive.h index be6edfc31..279a2944c 100644 --- a/dive.h +++ b/dive.h @@ -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); -- cgit v1.2.3-70-g09d2