summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp b/plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp
index b7a99a5189..2ed8b7183d 100644
--- a/plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp
+++ b/plugins/Dbx_mmap_SA/Dbtool/finaltasks.cpp
@@ -72,7 +72,7 @@ int WorkFinalTasks(int firstTime)
}
MoveFile(opts.filename,opts.backupFilename) || AddToStatus(STATUS_WARNING,TranslateT("Unable to rename original file"));
}
- else if(!opts.bCheckOnly) DeleteFile(opts.filename) || AddToStatus(STATUS_WARNING,TranslateT("Unable to delete original file"));
- if(!opts.bCheckOnly) MoveFile(opts.outputFilename,opts.filename) || AddToStatus(STATUS_WARNING,TranslateT("Unable to rename output file"));
+ else if (!opts.bCheckOnly) DeleteFile(opts.filename) || AddToStatus(STATUS_WARNING,TranslateT("Unable to delete original file"));
+ if (!opts.bCheckOnly) MoveFile(opts.outputFilename,opts.filename) || AddToStatus(STATUS_WARNING,TranslateT("Unable to rename output file"));
return ERROR_NO_MORE_ITEMS;
}