aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r--src/dw-hdfsee.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 051f133d..e30b8ea6 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -94,6 +94,8 @@ static double ring_radius(struct image *image, double d)
static void show_ring(cairo_t *cr, DisplayWindow *dw,
double d, const char *label)
{
+ if ( !dw->use_geom ) return;
+
cairo_text_extents_t size;
cairo_identity_matrix(cr);
cairo_translate(cr, -dw->min_x/dw->binning, dw->max_y/dw->binning);