summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/backup.cpp
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2014-01-14 13:35:54 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2014-01-14 13:35:54 +0000
commit8548fcd50829c678519de026b528014c5f48ca0b (patch)
treebee1418d6b2a793d284405786494c10dec3902cd /plugins/Db_autobackups/src/backup.cpp
parent42680921c5539ed332e3b0191428227ebeb7110e (diff)
Db_autobackups:
- Typo git-svn-id: http://svn.miranda-ng.org/main/trunk@7642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/backup.cpp')
-rw-r--r--plugins/Db_autobackups/src/backup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp
index 37892121e9..1e7b9c1c52 100644
--- a/plugins/Db_autobackups/src/backup.cpp
+++ b/plugins/Db_autobackups/src/backup.cpp
@@ -103,7 +103,7 @@ bool MakeZip(LPCTSTR tszSource, LPCTSTR tszDest)
}
}
dwTotalBytes += dwRead;
- SendMessage(hProgBar, PBM_SETPOS, (WPARAM)(100.0 * double(dwRead) / double(fad.nFileSizeLow)), 0);
+ SendMessage(hProgBar, PBM_SETPOS, (WPARAM)(100.0 * double(dwTotalBytes) / double(fad.nFileSizeLow)), 0);
}
mir_free(buf);
}