Commit d932fefb authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

oleaut32: Fix a test that fails on all platforms up to and including win2k.

parent 8da83349
......@@ -769,8 +769,9 @@ static void test_AddRefHfont(void)
/* Decrement reference for destroyed hfnt1 */
hres = IFont_ReleaseHfont(ifnt2,hfnt1);
ok(hres == S_OK,
"IFont_AddRefHfont: (Release ref) Expected S_OK but got 0x%08x\n",
ok(hres == S_OK ||
hres == S_FALSE, /* <= win2k */
"IFont_AddRefHfont: (Release ref) Expected S_OK or S_FALSE but got 0x%08x\n",
hres);
/* Shows that releasing all IFONT's does clear the HFONT cache. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment