From 4bff91265a0440ca4894444a945e3133b9ba2ea5 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 13 Nov 2008 21:45:41 +0100 Subject: [PATCH] ole32/tests: Don't hardcode the Ansi codepage value. --- dlls/ole32/tests/stg_prop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/ole32/tests/stg_prop.c b/dlls/ole32/tests/stg_prop.c index a7024b38296..c4e2d0c59d6 100644 --- a/dlls/ole32/tests/stg_prop.c +++ b/dlls/ole32/tests/stg_prop.c @@ -408,8 +408,7 @@ static void testCodepage(void) /* check code page before it's been explicitly set */ hr = IPropertyStorage_ReadMultiple(propertyStorage, 1, &spec, &var); ok(hr == S_OK, "ReadMultiple failed: 0x%08x\n", hr); - ok(var.vt == VT_I2 && U(var).iVal == 1252, - "Didn't get expected type or value for property\n"); + ok(var.vt == VT_I2, "Didn't get expected type for property (%u)\n", var.vt); /* Set code page to Unicode */ U(var).iVal = 1200; hr = IPropertyStorage_WriteMultiple(propertyStorage, 1, &spec, &var, 0);