Austin English : usp10/tests: Check return value of SelectObject.

Alexandre Julliard julliard at winehq.org
Mon May 24 11:30:50 CDT 2010


Module: wine
Branch: master
Commit: 21dac9f6cd47ca66a1a9c203bbd0086e7a07f4d0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=21dac9f6cd47ca66a1a9c203bbd0086e7a07f4d0

Author: Austin English <austinenglish at gmail.com>
Date:   Sat May 22 03:45:33 2010 -0500

usp10/tests: Check return value of SelectObject.

---

 dlls/usp10/tests/usp10.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 41c9035..e47d7c5 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -1734,6 +1734,7 @@ START_TEST(usp10)
     lf.lfWidth = 10;
 
     hfont = SelectObject(hdc, CreateFontIndirectA(&lf));
+    ok(hfont != NULL, "SelectObject failed: %p\n", hfont);
 
     test_ScriptItemize();
     test_ScriptItemIzeShapePlace(hdc,pwOutGlyphs);




More information about the wine-cvs mailing list