Print source charset as well as a resulting codepage in FONT_mbtowc
Dmitry Timoshkov
dmitry at baikal.ru
Wed Apr 14 06:34:43 CDT 2004
Hello,
this patch should make debugging charset related issues a bit easier.
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Print source charset as well as a resulting codepage in FONT_mbtowc.
--- cvs/hq/wine/objects/text.c Thu Mar 04 01:27:08 2004
+++ wine/objects/text.c Wed Apr 14 11:30:08 2004
@@ -91,7 +91,7 @@ LPWSTR FONT_mbtowc(HDC hdc, LPCSTR str,
}
}
- TRACE("cp == %d\n", cp);
+ TRACE("charset %d => cp %d\n", charset, cp);
if(count == -1) count = strlen(str);
lenW = MultiByteToWideChar(cp, 0, str, count, NULL, 0);
More information about the wine-patches
mailing list