wordpad: Use unicode version of CBEM_GETITEM message.

This commit is contained in:
Dylan Smith 2009-01-08 14:17:55 -05:00 committed by Alexandre Julliard
parent 02c7d192b0
commit 35680c83d1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}