shell32: Fix the character count passed into LoadStringW in ISFHelper_fnAddFolder.

This commit is contained in:
Rob Shearman 2008-02-15 10:06:20 +00:00 committed by Alexandre Julliard
parent 783b5b49a2
commit 8aa361740e
1 changed files with 2 additions and 2 deletions

View File

@ -1155,9 +1155,9 @@ ISFHelper_fnAddFolder (ISFHelper * iface, HWND hwnd, LPCWSTR pwszName,
/* Cannot Create folder because of permissions */
LoadStringW (shell32_hInstance, IDS_CREATEFOLDER_DENIED, wszTempText,
sizeof (wszTempText));
sizeof (wszTempText)/sizeof (wszTempText[0]));
LoadStringW (shell32_hInstance, IDS_CREATEFOLDER_CAPTION, wszCaption,
sizeof (wszCaption));
sizeof (wszCaption)/sizeof (wszCaption[0]));
sprintfW (wszText, wszTempText, wszNewDir);
MessageBoxW (hwnd, wszText, wszCaption, MB_OK | MB_ICONEXCLAMATION);
}