changeset 1646:8493f8888893

Fixed off by one in the y field of the expose event on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 07 Apr 2012 01:22:15 +0000
parents 69386c5a8e3e
children b2c26ed9031c
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Fri Apr 06 23:34:00 2012 +0000
+++ b/os2/dw.c	Sat Apr 07 01:22:15 2012 +0000
@@ -2847,7 +2847,7 @@
 
                   hps = WinBeginPaint(hWnd, 0L, &rc);
                   exp.x = rc.xLeft;
-                  exp.y = height - rc.yTop - 1;
+                  exp.y = height - rc.yTop;
                   exp.width = rc.xRight - rc. xLeft;
                   exp.height = rc.yTop - rc.yBottom;
                   result = exposefunc(hWnd, &exp, tmp->data);