Commit 35680c83 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

wordpad: Use unicode version of CBEM_GETITEM message.

parent 02c7d192
......@@ -1341,7 +1341,7 @@ static BOOL get_comboexlist_selection(HWND hComboEx, LPWSTR wszBuffer, UINT buff
cbItem.iItem = idx;
cbItem.pszText = wszBuffer;
cbItem.cchTextMax = bufferLength-1;
result = SendMessageW(hComboEx, CBEM_GETITEM, 0, (LPARAM)&cbItem);
result = SendMessageW(hComboEx, CBEM_GETITEMW, 0, (LPARAM)&cbItem);
return result != 0;
}
......
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