From 077cd6a9f5ecded0681098d6d89026a98983fe23 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 11 Sep 2008 13:38:21 +0900 Subject: [PATCH] user32: Fix the work area test to pass on Windows when the taskbar is on top. --- dlls/user32/tests/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c index 65d922edd7..a66868f52c 100644 --- a/dlls/user32/tests/monitor.c +++ b/dlls/user32/tests/monitor.c @@ -360,7 +360,7 @@ static void test_work_area(void) wp.ptMaxPosition.x, wp.ptMaxPosition.y, wp.rcNormalPosition.left, wp.rcNormalPosition.top, wp.rcNormalPosition.right, wp.rcNormalPosition.bottom); - OffsetRect(&rc_normal, -rc_work.left, -rc_work.top); + OffsetRect(&wp.rcNormalPosition, rc_work.left, rc_work.top); if (!EqualRect(&mi.rcMonitor, &mi.rcWork)) /* FIXME: remove once Wine is fixed */ todo_wine ok(EqualRect(&rc_normal, &wp.rcNormalPosition), "normal pos is different\n"); else