[PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 5)
Jactry Zeng
jactry92 at gmail.com
Fri Sep 13 06:18:23 CDT 2013
2013/9/13 Alexandre Julliard <julliard at winehq.org>
>
> > @@ -3313,6 +3315,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor,
UINT msg, WPARAM wParam,
> > len = lParam ? strlen((char *)lParam) : 0;
> > }
> > } else {
> > + if(bUTF8) {
> > + lParam = lParam + 3;
> > + pStruct->codepage = CP_UTF8;
> > + }
>
> That struct belongs to the caller, you can't change it.
Thank you for the review!
I have sent another try.
--
Regards,
Jactry Zeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130913/55902c2e/attachment-0001.html>
More information about the wine-devel
mailing list