Paul Vriens : gdi32/tests: Fix a test failure on NT4.

Alexandre Julliard julliard at winehq.org
Tue Apr 28 07:52:59 CDT 2009


Module: wine
Branch: master
Commit: f043f3db27089f2da5f676abe016fbdeeebdd20a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f043f3db27089f2da5f676abe016fbdeeebdd20a

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Mon Apr 27 19:48:17 2009 +0200

gdi32/tests: Fix a test failure on NT4.

---

 dlls/gdi32/tests/font.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index c10d6e8..88e1797 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -1785,7 +1785,9 @@ static void test_EnumFontFamilies(const char *font_name, INT font_charset)
             ok(efdw.total > 0, "fonts enumerated: NULL\n");
             ok(ansi_charset > 0, "NULL family should enumerate ANSI_CHARSET\n");
             ok(symbol_charset > 0, "NULL family should enumerate SYMBOL_CHARSET\n");
-            ok(russian_charset > 0, "NULL family should enumerate RUSSIAN_CHARSET\n");
+            ok(russian_charset > 0 ||
+               broken(russian_charset == 0), /* NT4 */
+               "NULL family should enumerate RUSSIAN_CHARSET\n");
         }
 
         efdw.total = 0;




More information about the wine-cvs mailing list