shell32: Set size in characters in MENUITEMINFOW struct.

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2018-06-29 17:23:26 +02:00 committed by Alexandre Julliard
parent 7e0de24a75
commit aba4789b0e
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ static HRESULT shellex_run_context_menu_default( IShellExtInit *obj,
info.cbSize = sizeof info;
info.fMask = MIIM_FTYPE | MIIM_STRING | MIIM_STATE | MIIM_DATA | MIIM_ID;
info.dwTypeData = string;
info.cch = sizeof string;
info.cch = ARRAY_SIZE(string);
string[0] = 0;
GetMenuItemInfoW( hmenu, i, TRUE, &info );