From 848bc15ab18ee365d52280596d7491f0c735ab03 Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Thu, 20 Sep 2001 18:58:05 +0000 Subject: [PATCH] Fix mapping of DEFAULT_CHARSET. --- objects/text.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/objects/text.c b/objects/text.c index 58e310e6ac1..771b122d1c7 100644 --- a/objects/text.c +++ b/objects/text.c @@ -51,6 +51,9 @@ LPWSTR FONT_mbtowc(HDC hdc, LPCSTR str, INT count, INT *plenW, UINT *pCP) case OEM_CHARSET: cp = GetOEMCP(); break; + case DEFAULT_CHARSET: + cp = GetACP(); + break; case VISCII_CHARSET: case TCVN_CHARSET: @@ -87,7 +90,7 @@ LPWSTR FONT_mbtowc(HDC hdc, LPCSTR str, INT count, INT *plenW, UINT *pCP) /*********************************************************************** * ExtTextOut (GDI.351) -*/ + */ BOOL16 WINAPI ExtTextOut16( HDC16 hdc, INT16 x, INT16 y, UINT16 flags, const RECT16 *lprect, LPCSTR str, UINT16 count, const INT16 *lpDx )