From 40aeb9563f1a51431679048ec3e89d09aafca223 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 24 Sep 2008 03:06:00 -0500 Subject: [PATCH] oleaut32: Fix a failing test in win95. --- dlls/oleaut32/tests/olefont.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c index 0e5f55f3cf2..6774368100e 100644 --- a/dlls/oleaut32/tests/olefont.c +++ b/dlls/oleaut32/tests/olefont.c @@ -138,7 +138,9 @@ static void test_QueryInterface(void) /* Test if QueryInterface increments ref counter for IFONTs */ ret = IFont_AddRef(font); - ok(ret == 3, "IFont_QI expected ref value 3 but instead got %12u\n",ret); + ok(ret == 3 || + broken(ret == 1), /* win95 */ + "IFont_QI expected ref value 3 but instead got %ld\n",ret); IFont_Release(font); ok(hres == S_OK,"IFont_QI does not return S_OK, but 0x%08x\n", hres);