comparison os2/dw.c @ 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 3d4066aab4e0
comparison
equal deleted inserted replaced
1645:69386c5a8e3e 1646:8493f8888893
2845 { 2845 {
2846 int height = _get_height(hWnd); 2846 int height = _get_height(hWnd);
2847 2847
2848 hps = WinBeginPaint(hWnd, 0L, &rc); 2848 hps = WinBeginPaint(hWnd, 0L, &rc);
2849 exp.x = rc.xLeft; 2849 exp.x = rc.xLeft;
2850 exp.y = height - rc.yTop - 1; 2850 exp.y = height - rc.yTop;
2851 exp.width = rc.xRight - rc. xLeft; 2851 exp.width = rc.xRight - rc. xLeft;
2852 exp.height = rc.yTop - rc.yBottom; 2852 exp.height = rc.yTop - rc.yBottom;
2853 result = exposefunc(hWnd, &exp, tmp->data); 2853 result = exposefunc(hWnd, &exp, tmp->data);
2854 WinEndPaint(hps); 2854 WinEndPaint(hps);
2855 } 2855 }