mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SHELL32] Fix SHCreateDirectoryExW showing an error on success
CORE-15145
This commit is contained in:
parent
96beae8f52
commit
b5423ba70b
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s
|
|||
}
|
||||
}
|
||||
|
||||
if (ret && hWnd && (ERROR_CANCELLED != ret))
|
||||
if (ret && hWnd && (ERROR_CANCELLED != ret && ERROR_ALREADY_EXISTS != ret))
|
||||
{
|
||||
ShellMessageBoxW(shell32_hInstance, hWnd, MAKEINTRESOURCEW(IDS_CREATEFOLDER_DENIED), MAKEINTRESOURCEW(IDS_CREATEFOLDER_CAPTION),
|
||||
MB_ICONEXCLAMATION | MB_OK, path);
|
||||
|
|
Loading…
Reference in a new issue