shell32: Return ERROR_SUCCESS when able to create directory successfully using SHCreateDirectory

Phil Lodwick Phil.Lodwick at EFI.COM
Mon May 22 16:02:22 CDT 2006


---

 dlls/shell32/shlfileop.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

918049c83cd109296d8df103de3db816d0b19037
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 4f2a799..e386c64 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -581,7 +581,8 @@ int WINAPI SHCreateDirectoryExW(HWND hWn
 	{
 	  ret = SHNotifyCreateDirectoryW(path, sec);
 	  /* Refuse to work on certain error codes before trying to create
directories recursively */
-	  if (ret != ERROR_FILE_EXISTS &&
+	  if (ret != ERROR_SUCCESS &&
+           ret != ERROR_FILE_EXISTS &&
 	      ret != ERROR_ALREADY_EXISTS &&
 	      ret != ERROR_FILENAME_EXCED_RANGE)
 	  {
-- 
1.2.4




More information about the wine-patches mailing list