mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
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:
parent
2fe4d89ea8
commit
50aaff9bd3
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags)
|
|||
|
||||
if ((res == PROMPT_NO) || (res == PROMPT_BREAK))
|
||||
{
|
||||
continue; //FIXME: Errorcode?
|
||||
nErrorLevel = 0;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue