diff options
author | Thomas White <taw@physics.org> | 2020-07-08 11:44:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 4a8e2441796b72c2e2df1402071918dfdb22119d (patch) | |
tree | d623a480945228b7d3000ed3de6c58fd0eee1c0a /src | |
parent | e5d8b871ff64bf74366729eedd3084d40ddb03ca (diff) |
crystal[s]
Diffstat (limited to 'src')
-rw-r--r-- | src/crystfel_gui.c | 6 |
1 files 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; i<image->n_crystals; i++ ) { STATUS(" Crystal %2i: ", i); cell_print_oneline(crystal_get_cell(image->crystals[i])); |