Commit 476ac454 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Unicode version of DdeCreateStringHandle should ignore codepage parameter.

parent 58080d4f
......@@ -1141,10 +1141,8 @@ HSZ WINAPI DdeCreateStringHandleW(DWORD idInst, LPCWSTR psz, INT codepage)
pInstance = WDML_GetInstance(idInst);
if (pInstance)
{
if (codepage == 0) codepage = CP_WINUNICODE;
hsz = WDML_CreateString(pInstance, psz, codepage);
}
hsz = WDML_CreateString(pInstance, psz, CP_WINUNICODE);
LeaveCriticalSection(&WDML_CritSect);
return hsz;
......
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