From 8db13446c3db7108a5db6a9599bdb370b3fc7a47 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 10 Mar 2020 14:33:47 +0100 Subject: Number frames from 1 --- src/crystfel_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index f5009d01..1a319f92 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -161,7 +161,7 @@ static void update_imageview(struct crystfelproject *proj) snprintf(tmp, 1023, "%s (frame %i of %i)", proj->filenames[proj->cur_frame], - proj->cur_frame, proj->n_frames); + proj->cur_frame+1, proj->n_frames); gtk_label_set_text(GTK_LABEL(proj->image_info), tmp); crystfel_image_view_set_image(CRYSTFEL_IMAGE_VIEW(proj->imageview), proj->filenames[proj->cur_frame], -- cgit v1.2.3