Commit 8aa36174 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent 783b5b49
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment