user32: Fix the work area test to pass on Windows when the taskbar is on top.

This commit is contained in:
Dmitry Timoshkov 2008-09-11 13:38:21 +09:00 committed by Alexandre Julliard
parent c707e7d9a6
commit 077cd6a9f5

View File

@ -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