summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/backup.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Db_autobackups/backup.c
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/backup.c')
-rw-r--r--plugins/Db_autobackups/backup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Db_autobackups/backup.c b/plugins/Db_autobackups/backup.c
index 377a1fe539..3b0229ac56 100644
--- a/plugins/Db_autobackups/backup.c
+++ b/plugins/Db_autobackups/backup.c
@@ -98,7 +98,7 @@ int RotateBackups(HWND progress_dialog, DWORD start_time)
i++;
while(PeekMessage(&msg, progress_dialog, 0, 0, PM_REMOVE) != 0)
{
- if(!IsDialogMessage(progress_dialog, &msg))
+ if (!IsDialogMessage(progress_dialog, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
@@ -154,10 +154,10 @@ int Backup(TCHAR* backup_filename)
else
lstrcpyn(dest_file, backup_filename, MAX_PATH);
- if(!options.disable_popups)
+ if (!options.disable_popups)
ShowPopup(dbname, TranslateT("Backup in Progress"));
- if(!options.disable_progress) {
+ if (!options.disable_progress) {
progress_dialog = CreateDialog(hInst, MAKEINTRESOURCE(IDD_COPYPROGRESS), 0, (DLGPROC)DlgProcProgress);
SetDlgItemText(progress_dialog, IDC_PROGRESSMESSAGE, TranslateT("Rotating backup files..."));
}
@@ -175,7 +175,7 @@ int Backup(TCHAR* backup_filename)
SendMessage(progress_dialog, PBM_SETPOS, (WPARAM)(int)(100), 0);
UpdateWindow(progress_dialog);
DBWriteContactSettingDword(0, "AutoBackups", "LastBackupTimestamp", (DWORD)time(0));
- if(!options.disable_popups)
+ if (!options.disable_popups)
{
dest_file_len = lstrlen(dest_file);
if(dest_file_len > 50)