[resend2] gdi32/tests: Add a test for GdiGetCodePage().
ByeongSik Jeon
bsjeon at hanmail.net
Sun Dec 14 07:22:31 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=16325
2008-12-14 (Sun), 13:34 +0100, Paul Vriens wrote:
> Could you turn the skip in this piece of code:
>
> + if (!pGdiGetCodePage)
> + {
> + skip("GdiGetCodePage not available on this platform\n");
> + return;
> + }
>
> into a win_skip? That way we fail if the function is not available in Wine.
>
I changed it to the trace().
> Another thing I'm not sure about though is that in the for() loop you
> don't do a DeleteObject( hfont ). Is that only needed at the end?
Thanks.
---
dlls/gdi32/tests/Makefile.in | 2 +-
dlls/gdi32/tests/font.c | 153 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 154 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5976800e154fee1f21a369963dc3ba6b07b00f29.diff
Type: text/x-patch
Size: 6692 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081214/115efd53/attachment.bin
More information about the wine-patches
mailing list