Jactry Zeng <jactr...@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 julli...@winehq.org