comctl32: Treeview item gets characters not bytes passed in.
Signed-off-by: Marcus Meissner <meissner@suse.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6e437acf1c
commit
7e0de24a75
|
@ -4694,7 +4694,7 @@ static INT TREEVIEW_ProcessLetterKeys(TREEVIEW_INFO *infoPtr, WPARAM charCode, L
|
|||
item.mask = TVIF_TEXT;
|
||||
item.hItem = idx;
|
||||
item.pszText = buffer;
|
||||
item.cchTextMax = sizeof(buffer);
|
||||
item.cchTextMax = ARRAY_SIZE(buffer);
|
||||
TREEVIEW_GetItemT( infoPtr, &item, TRUE );
|
||||
|
||||
/* check for a match */
|
||||
|
|
Loading…
Reference in New Issue