summaryrefslogtreecommitdiff
path: root/updater/extern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'updater/extern.cpp')
-rw-r--r--updater/extern.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/updater/extern.cpp b/updater/extern.cpp
index 0c7f8c0..d33e0c2 100644
--- a/updater/extern.cpp
+++ b/updater/extern.cpp
@@ -273,7 +273,7 @@ void MoveFiles(HANDLE hLogFile, TCHAR *src_folder, TCHAR *dst_folder, TCHAR *bac
DeleteFile(szBackupFileName);
if(!MoveFile(szNewFileName, szBackupFileName))
{
- // MessageBox(0, szNewFileName, "Could not backup!", MB_OK | MB_ICONWARNING);
+ // MessageBox(0, szNewFileName, __T("Could not backup!"), MB_OK | MB_ICONWARNING);
}
}
else
@@ -281,7 +281,7 @@ void MoveFiles(HANDLE hLogFile, TCHAR *src_folder, TCHAR *dst_folder, TCHAR *bac
move_file = true;
if (!DeleteFile(szNewFileName))
{
- // MessageBox(0, szNewFileName, "Could not delete!", MB_OK | MB_ICONWARNING);
+ // MessageBox(0, szNewFileName, _T("Could not delete!"), MB_OK | MB_ICONWARNING);
}
}
@@ -289,10 +289,10 @@ void MoveFiles(HANDLE hLogFile, TCHAR *src_folder, TCHAR *dst_folder, TCHAR *bac
{
if (!MoveFile(szOldFileName, szNewFileName))
{
- //MessageBox(0, szOldFileName, "Could not move!", MB_OK | MB_ICONWARNING);
+ //MessageBox(0, szOldFileName, _T("Could not move!"), MB_OK | MB_ICONWARNING);
// try a copy - possibly win98 etc. will not move the updater.dll when it is being used by this process
- CopyFile(szOldFileName, szNewFileName, TRUE);
+ CopyFile(szOldFileName, szNewFileName, FALSE);
DeleteFile(szOldFileName); // docs say it is marked for delete and actually removed when the last handle is closed...hmm
}
}