aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/displaywindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c
index ba0ac922..0de3e9d1 100644
--- a/src/displaywindow.c
+++ b/src/displaywindow.c
@@ -624,7 +624,7 @@ static void numbers_update(DisplayWindow *dw)
int valid;
x = dw->binning * dw->numbers_window->cx + (px-8);
- y = dw->binning * dw->numbers_window->cy + (py-8);
+ y = dw->binning * dw->numbers_window->cy + (17-py-8);
if ( (x>=dw->image->width) || (y>=dw->image->height) ) {
valid = 0;