Dylan Smith : wordpad: Use unicode version of CBEM_GETITEM message.
Alexandre Julliard
julliard at winehq.org
Fri Jan 9 09:52:12 CST 2009
Module: wine
Branch: master
Commit: 35680c83d114a4882c4d42d091439b9b962fe657
URL: http://source.winehq.org/git/wine.git/?a=commit;h=35680c83d114a4882c4d42d091439b9b962fe657
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Thu Jan 8 14:17:55 2009 -0500
wordpad: Use unicode version of CBEM_GETITEM message.
---
programs/wordpad/wordpad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index fe78012..251b6b4 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -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;
}
More information about the wine-cvs
mailing list