client-x11: fix cutoff string in cliprdr

This commit is contained in:
Jean-Louis Dupond 2013-01-04 17:43:08 +01:00
parent 91e2f25691
commit 86bfbe1716
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ static void xf_cliprdr_process_text(clipboardContext* cb, BYTE* data, int size)
static void xf_cliprdr_process_unicodetext(clipboardContext* cb, BYTE* data, int size)
{
ConvertFromUnicode(CP_UTF8, 0, (WCHAR*) data, size / 2, (CHAR**) &(cb->data), 0, NULL, NULL);
cb->data_length = ConvertFromUnicode(CP_UTF8, 0, (WCHAR*) data, size / 2, (CHAR**) &(cb->data), 0, NULL, NULL);
crlf2lf(cb->data, &cb->data_length);
}