Commit 8b2bfbb7 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

mlang: Encode all the way to the NULL terminator.

parent 6e313864
......@@ -269,7 +269,7 @@ static BOOL check_convertible(IMultiLanguage2 *iML2, UINT from, UINT to)
static WCHAR strW[] = {'a','b','c',0};
srcsz = -1;
srcsz = lstrlenW(strW) + 1;
destsz = MAX_PATH;
hr = IMultiLanguage2_ConvertStringFromUnicode(iML2, NULL, from, strW,
&srcsz, convert, &destsz);
......
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