From d2e5bb30eb271d8c297a7abc0eb17ee368b88a32 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 26 Sep 2012 11:37:41 +0200 Subject: [PATCH] wininet: Don't ask for confirmation while deleting cache directory. --- dlls/wininet/urlcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index eac34026acf..36e0a35522a 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -1657,7 +1657,7 @@ static BOOL URLCache_DeleteCacheDirectory(LPCWSTR lpszPath) shfos.wFunc = FO_DELETE; shfos.pFrom = path; shfos.pTo = NULL; - shfos.fFlags = 0; + shfos.fFlags = FOF_NOCONFIRMATION; shfos.fAnyOperationsAborted = FALSE; ret = SHFileOperationW(&shfos); if (ret)