aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c2
1 files changed, 1 insertions, 1 deletions
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],