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

This commit is contained in:
Reece H. Dunn 2008-01-24 08:57:29 +00:00 committed by Alexandre Julliard
parent 37c56f8946
commit e3a5167ffe
1 changed files with 1 additions and 1 deletions

View File

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