diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Updater/utils.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater/utils.cpp')
-rw-r--r-- | plugins/Updater/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Updater/utils.cpp b/plugins/Updater/utils.cpp index cd776782f9..6936a905ae 100644 --- a/plugins/Updater/utils.cpp +++ b/plugins/Updater/utils.cpp @@ -10,12 +10,12 @@ bool VersionFromString(const char *szVer, DWORD *pdwVer) int digit_count = 0;
while(*p && bytes <= 4 && digit_count <= 3)
{
- if(*p >= '0' && *p <= '9')
+ if (*p >= '0' && *p <= '9')
{
*pdwVer = (*pdwVer & 0xFFFFFF00) + (*pdwVer & 0xFF) * 10 + (*p - '0');
digit_count++;
}
- else if(*p == '.')
+ else if (*p == '.')
{
*pdwVer = *pdwVer << 8;
bytes++;
|