ole32/tests: Don't hardcode the Ansi codepage value.

This commit is contained in:
Alexandre Julliard 2008-11-13 21:45:41 +01:00
parent 48d41dbc37
commit 4bff91265a
1 changed files with 1 additions and 2 deletions

View File

@ -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);