[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Reece H. Dunn : gdi32:
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2008-01-25 13:06:09
Message-ID: E1JIOG1-0008Vg-JT () wine ! codeweavers ! com
[Download RAW message or body]

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


Author: Reece H. Dunn <msclrhd@gmail.com>
Date:   Thu Jan 24 08:57:29 2008 +0000

gdi32: Vista returns UNICODE_NOCHAR if a character does not exist.

---

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

diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 08725de..7e560d2 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -604,7 +604,7 @@ static void test_GetGlyphIndices(void)
     flags |= GGI_MARK_NONEXISTING_GLYPHS;
     charcount = pGetGlyphIndicesW(hdc, testtext, (sizeof(testtext)/2)-1, glyphs, \
                flags);
     ok(charcount == 5, "GetGlyphIndices count of glyphs should = 5 not %d\n", \
                charcount);
-    ok(glyphs[4] == 0x001f, "GetGlyphIndices should have returned a nonexistent char \
not %04x\n", glyphs[4]); +    ok((glyphs[4] == 0x001f || glyphs[4] == UNICODE_NOCHAR \
/* Vista */), "GetGlyphIndices should have returned a nonexistent char not %04x\n", \
glyphs[4]);  flags = 0;
     charcount = pGetGlyphIndicesW(hdc, testtext, (sizeof(testtext)/2)-1, glyphs, \
                flags);
     ok(charcount == 5, "GetGlyphIndices count of glyphs should = 5 not %d\n", \
charcount);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic