aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-07-23 13:26:30 +0200
committerThomas White <taw@physics.org>2014-07-24 13:26:34 +0200
commit7141d24cce2edfcafae40dce6213c108798e9dc5 (patch)
tree9c8643fa25762c21f4c4a43651282dd45c8d1984 /src
parent282dee197bce06f9d37655c1775f53f6646e2e5d (diff)
Fixes closest feature detection bug
Diffstat (limited to 'src')
-rw-r--r--src/dw-hdfsee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index f71e865c..058b05ff 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -1529,7 +1529,7 @@ static void numbers_update(DisplayWindow *dw)
char text[64];
f = image_feature_closest(dw->image->features, ffs, fss,
- &dmin, &imin);
+ &dmin, &imin, dw->image->det);
if ( dmin < dw->ring_radius*dw->binning ) {
strncpy(text, f->name, 32);
} else {