aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-21 16:27:15 +0100
committerThomas White <taw@physics.org>2010-01-21 16:27:15 +0100
commitfc2135e792d169830300878780e4bae774f13463 (patch)
tree8b7c8c7bca01156a455c24d53dd95ad65a6bfc13 /src
parent552d860fa1bf4fd699d0af2e8ca0a13345fc624b (diff)
Put numbers display the right way up (again)
Diffstat (limited to 'src')
-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;