shell32: Pass correct size to MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2010-10-24 12:04:12 +02:00 committed by Alexandre Julliard
parent 5b09820d7c
commit f5518eb3d8
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ static void test_click_make_new_folder_button(void)
bi.lpfn = create_new_folder_callback;
/* Use test folder as the root folder for dialog box */
MultiByteToWideChar(CP_UTF8, 0, test_folder_path, MAX_PATH,
test_folder_pathW, MAX_PATH*sizeof(WCHAR));
test_folder_pathW, MAX_PATH);
SHGetDesktopFolder(&test_folder_object);
test_folder_object->lpVtbl->ParseDisplayName(test_folder_object, NULL, NULL,
test_folder_pathW, 0UL, &test_folder_pidl, 0UL);