[PATCH] winex11.drv: Fix import XA_STRING compatible wide character.
Jactry Zeng
jzeng at codeweavers.com
Fri Dec 17 03:33:35 CST 2021
On 12/17/21 09:17, Chao Long wrote:
> diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c
> index 147c0fd06ba..07ddf6908fe 100644
> --- a/dlls/winex11.drv/clipboard.c
> +++ b/dlls/winex11.drv/clipboard.c
> @@ -713,7 +713,7 @@ static HANDLE unicode_text_from_string( UINT codepage, const void *data, size_t
> */
> static HANDLE import_string( Atom type, const void *data, size_t size )
> {
> - return unicode_text_from_string( 28591, data, size );
> + return unicode_text_from_string( CP_UTF8, data, size );
> }
You made it into a duplication of import_utf8_string()?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211217/cd63046e/attachment.sig>
More information about the wine-devel
mailing list