usp10/tests: Check return value of SelectObject.
This commit is contained in:
parent
e0c7fb66c4
commit
21dac9f6cd
|
@ -1734,6 +1734,7 @@ START_TEST(usp10)
|
||||||
lf.lfWidth = 10;
|
lf.lfWidth = 10;
|
||||||
|
|
||||||
hfont = SelectObject(hdc, CreateFontIndirectA(&lf));
|
hfont = SelectObject(hdc, CreateFontIndirectA(&lf));
|
||||||
|
ok(hfont != NULL, "SelectObject failed: %p\n", hfont);
|
||||||
|
|
||||||
test_ScriptItemize();
|
test_ScriptItemize();
|
||||||
test_ScriptItemIzeShapePlace(hdc,pwOutGlyphs);
|
test_ScriptItemIzeShapePlace(hdc,pwOutGlyphs);
|
||||||
|
|
Loading…
Reference in New Issue