user32/tests: Fix tests on win9x.

This commit is contained in:
Huw Davies 2009-04-21 10:38:52 +01:00 committed by Alexandre Julliard
parent 08d4352f9b
commit 2ec629afd9
1 changed files with 5 additions and 2 deletions

View File

@ -244,9 +244,12 @@ static void test_synthesized(void)
ok(cf == CF_OEMTEXT, "cf %08x\n", cf);
cf = EnumClipboardFormats(cf);
ok(cf == CF_UNICODETEXT, "cf %08x\n", cf);
ok(cf == CF_UNICODETEXT ||
broken(cf == CF_METAFILEPICT), /* win9x and winME has no CF_UNICODETEXT */
"cf %08x\n", cf);
cf = EnumClipboardFormats(cf);
if(cf == CF_UNICODETEXT)
cf = EnumClipboardFormats(cf);
ok(cf == CF_METAFILEPICT, "cf %08x\n", cf);
cf = EnumClipboardFormats(cf);