aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-09 15:48:57 +0100
committerThomas White <taw@physics.org>2012-03-09 15:52:42 +0100
commit9a95711d1ae56f9e099dbb33f903e9fe1506a3dd (patch)
treee05fd7b5b28af23ae40677cab18b2ed70cc62bb4 /src/dw-hdfsee.c
parent2ac15877ab35dca76569376d180d1bd899e24a54 (diff)
hdfsee: Fix feature name in numbers window
Diffstat (limited to 'src/dw-hdfsee.c')
-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 807a8244..7870e60f 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -1382,7 +1382,7 @@ static void numbers_update(DisplayWindow *dw)
dw->binning * dw->numbers_window->cx,
dw->binning * dw->numbers_window->cy,
&dmin, &imin);
- if ( dmin < 20.0 ) {
+ if ( dmin < dw->ring_radius*dw->binning ) {
gtk_label_set_text(GTK_LABEL(dw->numbers_window->feat),
f->name);
} else {