From 33f1eeb80fd7096d978f623d76e7b06068459c58 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 5 Feb 2014 10:04:27 +0000 Subject: fixed version compare git-svn-id: http://svn.miranda-ng.org/main/trunk@8041 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PackUpdater/Src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/PackUpdater') diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp index 6c67bab25e..b6d7ec0eec 100644 --- a/plugins/PackUpdater/Src/Utils.cpp +++ b/plugins/PackUpdater/Src/Utils.cpp @@ -177,7 +177,7 @@ INT getVer(const TCHAR* verStr) { INT v1 = 0, v2 = 0, v3 = 0, v4 = 0; _stscanf(verStr, _T("%d.%d.%d.%d"), &v1, &v2, &v3, &v4); - return v1*1000000 + v2*10000 + v3*1000 + v4; + return v1*10000000 + v2*100000 + v3*1000 + v4; } static void CheckUpdates(void *) -- cgit v1.2.3