Fix for DrawTextExA
Ge van Geldorp
ge at gse.nl
Fri Dec 12 17:02:48 CST 2003
ChangeLog:
Pass dtp parameter on from DrawTextExA to DrawTextExW
Index: dlls/user/text.c
===================================================================
RCS file: /home/wine/wine/dlls/user/text.c,v
retrieving revision 1.47
diff -u -r1.47 text.c
--- dlls/user/text.c 5 Sep 2003 23:08:29 -0000 1.47
+++ dlls/user/text.c 12 Dec 2003 23:00:49 -0000
@@ -1040,7 +1040,7 @@
* change. U+FFFE is guaranteed to be not a unicode
character and
* so will not be generated by DrawTextEx itself.
*/
- ret = DrawTextExW( hdc, wstr, wcount, rect, flags, NULL );
+ ret = DrawTextExW( hdc, wstr, wcount, rect, flags, dtp );
if (flags & DT_MODIFYSTRING)
{
/* Unfortunately the returned string may contain multiple
\0s
More information about the wine-patches
mailing list