gdi32/tests: Take into account several Win9x bugs in GetObject(). (take 3)
Paul Vriens
paul.vriens.wine at gmail.com
Thu Jun 5 08:05:19 CDT 2008
Francois Gouget wrote:
> ---
>
> This time without the bug that caused tests to fail in Wine and on
> Windows XP.
>
>
> + SetLastError(0xdeadbeef);
> ret = GetBitmapBits(hbm, 0, NULL);
> - ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight);
> + gle=GetLastError();
> + ok(ret == bm.bmWidthBytes * bm.bmHeight || (ret == 0 && gle == ERROR_INVALID_PARAMETER /* Win9x */), "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight);
Any reason this one isn't put into a broken() for win9x (as you did with all the
others).
--
Cheers,
Paul.
More information about the wine-devel
mailing list