Set errorlevel to 0 when user enters 'no' on del confirmation. this is how MS does it.

svn path=/trunk/; revision=17878
This commit is contained in:
Brandon Turner 2005-09-16 13:58:37 +00:00
parent 2fe4d89ea8
commit 50aaff9bd3

View file

@ -264,7 +264,8 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags)
if ((res == PROMPT_NO) || (res == PROMPT_BREAK))
{
continue; //FIXME: Errorcode?
nErrorLevel = 0;
continue;
}
}