summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/checksum.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-21 15:18:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-21 15:18:22 +0000
commit1b6462b532772d0d0537a760f34f82daceccb55d (patch)
treee412606ac75116000c7703c1e6d0889f4e7a8542 /plugins/PluginUpdater/src/checksum.cpp
parentbc97d8192aa854aa675ae9cb68c79fca2c7893bc (diff)
PluginUpdater:
- fix for displaying MessageBox over modeless dialog; - auto-handle for a pipe; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7815 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/checksum.cpp')
-rw-r--r--plugins/PluginUpdater/src/checksum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp
index cda58f10eb..7a88026b25 100644
--- a/plugins/PluginUpdater/src/checksum.cpp
+++ b/plugins/PluginUpdater/src/checksum.cpp
@@ -81,7 +81,7 @@ int CalculateModuleHash(const TCHAR *filename, char *szDest)
// check minimum and maximum size
DWORD hsize = 0, filesize = GetFileSize(map.hFile, &hsize );
- if ( !filesize || filesize == INVALID_FILE_SIZE || hsize)
+ if (!filesize || filesize == INVALID_FILE_SIZE || hsize)
return RESULT_INVALID;
if (filesize < sizeof(IMAGE_DOS_HEADER) + sizeof(IMAGE_NT_HEADERS))