From 4a8e2441796b72c2e2df1402071918dfdb22119d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Jul 2020 11:44:32 +0200 Subject: crystal[s] --- src/crystfel_gui.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index a177268d..54e2b72d 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -113,8 +113,10 @@ static void add_ui_sig(GtkUIManager *ui, GtkWidget *widget, static void show_crystal_info(struct image *image) { int i; - STATUS("Frame %s %s has %i crystals:\n", - image->filename, image->ev, image->n_crystals); + STATUS("Frame %s %s has %i crystal%s:\n", + image->filename, image->ev, + image->n_crystals, + image->n_crystals == 1 ? "" : "s"); for ( i=0; in_crystals; i++ ) { STATUS(" Crystal %2i: ", i); cell_print_oneline(crystal_get_cell(image->crystals[i])); -- cgit v1.2.3