We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845d2b5 commit a7c87ceCopy full SHA for a7c87ce
ep_setup/ep_setup.c
@@ -985,11 +985,14 @@ int WINAPI wWinMain(
985
{
986
bOk = DeleteFileW(wszPath);
987
}
988
- PathRemoveExtensionW(wszPath);
989
- wcscat_s(wszPath, MAX_PATH, L".prev");
990
- if (FileExistsW(wszPath))
+ if (bOk)
991
992
- bOk = DeleteFileW(wszPath);
+ PathRemoveExtensionW(wszPath);
+ wcscat_s(wszPath, MAX_PATH, L".prev");
+ if (FileExistsW(wszPath))
993
+ {
994
+ bOk = DeleteFileW(wszPath);
995
+ }
996
997
if (bOk)
998
0 commit comments