|
|
|
|
@ -985,12 +985,15 @@ int WINAPI wWinMain(
@@ -985,12 +985,15 @@ int WINAPI wWinMain(
|
|
|
|
|
{ |
|
|
|
|
bOk = DeleteFileW(wszPath); |
|
|
|
|
} |
|
|
|
|
if (bOk) |
|
|
|
|
{ |
|
|
|
|
PathRemoveExtensionW(wszPath); |
|
|
|
|
wcscat_s(wszPath, MAX_PATH, L".prev"); |
|
|
|
|
if (FileExistsW(wszPath)) |
|
|
|
|
{ |
|
|
|
|
bOk = DeleteFileW(wszPath); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (bOk) |
|
|
|
|
{ |
|
|
|
|
GetWindowsDirectoryW(wszPath, MAX_PATH); |
|
|
|
|
|