From 8548fcd50829c678519de026b528014c5f48ca0b Mon Sep 17 00:00:00 2001 From: Sergey Tatarinov Date: Tue, 14 Jan 2014 13:35:54 +0000 Subject: Db_autobackups: - Typo git-svn-id: http://svn.miranda-ng.org/main/trunk@7642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db_autobackups/src/backup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Db_autobackups') 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); } -- cgit v1.2.3