Marcus Meissner : shell32: Pass correct size to MultiByteToWideChar.
Alexandre Julliard
julliard at winehq.org
Mon Oct 25 10:58:19 CDT 2010
Module: wine
Branch: master
Commit: f5518eb3d861a7e06a97bf638886425e42941a19
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5518eb3d861a7e06a97bf638886425e42941a19
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sun Oct 24 12:04:12 2010 +0200
shell32: Pass correct size to MultiByteToWideChar.
---
dlls/shell32/tests/brsfolder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/brsfolder.c b/dlls/shell32/tests/brsfolder.c
index e9a6e2c..16d4597 100644
--- a/dlls/shell32/tests/brsfolder.c
+++ b/dlls/shell32/tests/brsfolder.c
@@ -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);
More information about the wine-cvs
mailing list