[PATCH 0/1] MR11273: shell32: Use DE_INVALIDFILES instead of hard-coded value.
From: Daniel Lehman <dlehman25@gmail.com> --- dlls/shell32/shlfileop.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 3f4d4416254..16074d51f20 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -377,9 +377,7 @@ static DWORD SHELL_DeleteDirectoryW(HWND hwnd, LPCWSTR pszDir, BOOL bShowUI) if (ret == ERROR_SUCCESS) ret = SHNotifyRemoveDirectoryW(pszDir); - return ret == ERROR_PATH_NOT_FOUND ? - 0x7C: /* DE_INVALIDFILES (legacy Windows error) */ - ret; + return ret == ERROR_PATH_NOT_FOUND ? DE_INVALIDFILES : ret; } /************************************************************************** -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11273
participants (2)
-
Daniel Lehman -
Daniel Lehman (@dlehman25)