aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystfelimageview.c')
-rw-r--r--src/crystfelimageview.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index 03350204..1659ae4f 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -707,9 +707,8 @@ static gint draw_sig(GtkWidget *window, cairo_t *cr, CrystFELImageView *iv)
if ( iv->show_refls ) {
int i;
for ( i=0; i<iv->image->n_crystals; i++ ) {
- Crystal *cry = iv->image->crystals[i];
draw_refls(cr, iv,
- crystal_get_reflections(cry),
+ iv->image->crystals[i].refls,
iv->label_refls,
crystal_cols[i % n_crystal_cols]);
}