"Pierre d'Herbemont" pdherbemont@free.fr wrote:
This is a test for the CreateWindow call to see what is done with width or height that exceed the size of a short storage, or are negative. Hence we could decide if the fixup should be moved in user32 from winex11.drv.
This test is passing under Wine, but I didn't test with real Windows, so I guess I better monitor: http://test.winehq.org/data
Under XP SP2 with your test case I get:
win.c:3725: Test failed: expected rect.right 65535 != 65539 win.c:3726: Test failed: expected rect.bottom 65535 != 65539
I'm attaching a more comprehensive test which passes for me under XP SP2.