charset fix

Huw D M Davies h.davies1 at physics.ox.ac.uk
Thu Sep 20 07:41:49 CDT 2001


Sorry, somehow I missed this off my last patch.

	Huw D M Davies <hdavies at codeweavers.com>
	Fix mapping of DEFAULT_CHARSET
-------------- next part --------------
Index: objects/text.c
===================================================================
RCS file: /home/wine/wine/objects/text.c,v
retrieving revision 1.37
diff -u -r1.37 text.c
--- objects/text.c	2001/09/19 20:32:07	1.37
+++ objects/text.c	2001/09/20 11:27:27
@@ -51,6 +51,9 @@
 	case OEM_CHARSET:
 	    cp = GetOEMCP();
 	    break;
+	case DEFAULT_CHARSET:
+	    cp = GetACP();
+	    break;
 
 	case VISCII_CHARSET:
 	case TCVN_CHARSET:
@@ -87,7 +90,7 @@
 
 /***********************************************************************
  *           ExtTextOut (GDI.351)
-*/
+ */
 BOOL16 WINAPI ExtTextOut16( HDC16 hdc, INT16 x, INT16 y, UINT16 flags,
                             const RECT16 *lprect, LPCSTR str, UINT16 count,
                             const INT16 *lpDx )


More information about the wine-patches mailing list