Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -988,11 +988,14 @@ int WINAPI wWinMain(
|
||||
{
|
||||
bOk = DeleteFileW(wszPath);
|
||||
}
|
||||
PathRemoveExtensionW(wszPath);
|
||||
wcscat_s(wszPath, MAX_PATH, L".prev");
|
||||
if (FileExistsW(wszPath))
|
||||
if (bOk)
|
||||
{
|
||||
bOk = DeleteFileW(wszPath);
|
||||
PathRemoveExtensionW(wszPath);
|
||||
wcscat_s(wszPath, MAX_PATH, L".prev");
|
||||
if (FileExistsW(wszPath))
|
||||
{
|
||||
bOk = DeleteFileW(wszPath);
|
||||
}
|
||||
}
|
||||
if (bOk)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user