From 21dac9f6cd47ca66a1a9c203bbd0086e7a07f4d0 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 22 May 2010 03:45:33 -0500 Subject: [PATCH] usp10/tests: Check return value of SelectObject. --- dlls/usp10/tests/usp10.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index 41c903520d4..e47d7c57084 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); -- 2.11.4.GIT