[PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 5)

Alexandre Julliard julliard at winehq.org
Fri Sep 13 05:20:59 CDT 2013


Jactry Zeng <jactry92 at gmail.com> writes:

> @@ -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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list