comdlg32/tests: Mark a failure on w2k as broken.
authorDetlef Riekenberg <wine.dev@web.de>
Sun, 29 Aug 2010 13:13:45 +0000 (15:13 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 30 Aug 2010 13:39:19 +0000 (15:39 +0200)
dlls/comdlg32/tests/fontdlg.c

index 57c1d908214ca0317cc77bfdc8270e03b4b9e150..090053522dd9a279b4787a6327eced68cf27acc0 100644 (file)
@@ -138,7 +138,8 @@ static void test_ChooseFontA(void)
         ok(cfa.iPointSize == expected_pointsize, "Expected %i, got %i\n", expected_pointsize, cfa.iPointSize);
         ok(lfa.lfHeight == expected_lfheight, "Expected %i, got %i\n", expected_lfheight, lfa.lfHeight);
         ok(lfa.lfWeight == FW_NORMAL, "Expected FW_NORMAL, got %i\n", lfa.lfWeight);
-        ok(strcmp(lfa.lfFaceName, "Symbol") == 0, "Expected Symbol, got %s\n", lfa.lfFaceName);
+        ok((strcmp(lfa.lfFaceName, "Symbol") == 0) ||
+            broken(*lfa.lfFaceName == 0), "Expected Symbol, got %s\n", lfa.lfFaceName);
 
         DeleteDC(printer_ic);
     }