diff options
Diffstat (limited to 'viewport.c')
-rw-r--r-- | viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c index 5624e7670..1efc5d87a 100644 --- a/viewport.c +++ b/viewport.c @@ -339,7 +339,7 @@ Point GetTileZoomCenterWindow(bool in, Window * w) vp = w->viewport; - if (in) { + if (in) { x = ( (_cursor.pos.x - vp->left ) >> 1) + (vp->width >> 2); y = ( (_cursor.pos.y - vp->top ) >> 1) + (vp->height >> 2); } |