aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 02627c99..34c7d166 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -2518,7 +2518,7 @@ static void calibmode_press(DisplayWindow *dw, GdkEventButton *event)
x = dw->binning * (event->x);
y = dw->binning * (dw->height - 1 - event->y);
x += dw->min_x;
- y += dw->min_x;
+ y += dw->min_y;
snprintf(statusbar_string, 80,
"Last clicked position: x: %i, y: %i (Not in panel)", x, y);