Re: dlls/gdi: fix GetGlyphOutline(resend)
21 Feb
2005
21 Feb
'05
6:57 p.m.
TANABE Hiroshi <hirokun_dayomon(a)infoseek.to> writes:
if(!(fuFormat & GGO_GLYPH_INDEX)) { - p = FONT_mbtowc(hdc, (char*)&uChar, 1, NULL, NULL); + int len; + if(uChar > 0xff) { /* but, 2 bytes charactor only */ + len = 2; + uChar = (uChar & 0xff) << 8 | (uChar & 0xff00) >> 8; + } else + len = 1; + p = FONT_mbtowc(hdc, (char*)&uChar, len, NULL, NULL);
You should use an array of two chars here. -- Alexandre Julliard julliard(a)winehq.org
7602
Age (days ago)
7602
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard