usp10/tests: check return value of SelectObject

Austin English austinenglish at gmail.com
Sat May 22 03:45:33 CDT 2010


Passes WTB:
https://testbot.winehq.org/JobDetails.pl?Key=2252

-- 
-Austin
-------------- next part --------------
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-patches mailing list