aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-10 14:33:47 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commit8db13446c3db7108a5db6a9599bdb370b3fc7a47 (patch)
tree72f18a5e10ef3f3e70ecc21e0b585e9f568fedc1 /src
parent0f75b99090295cdec9f8a5318c915010b3a24336 (diff)
Number frames from 1
Diffstat (limited to 'src')
-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],