Commit c18658f2 authored by Kaarlo Raiha's avatar Kaarlo Raiha Committed by Jean-Baptiste Kempf

unicode support msn plugin

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cb0cf7c9
......@@ -194,7 +194,9 @@ static int SendToMSN( const char *psz_msg )
wchar_t buffer[MSN_MAX_LENGTH];
mbstowcs( buffer, psz_msg, MSN_MAX_LENGTH );
//mbstowcs( buffer, psz_msg, MSN_MAX_LENGTH );
int nLen = MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, NULL, NULL);
MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, &buffer, nLen);
msndata.dwData = 0x547;
msndata.lpData = &buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment