shell32: Fix the character count passed into LoadStringW in ISFHelper_fnAddFolder.
This commit is contained in:
parent
783b5b49a2
commit
8aa361740e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue