summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-05-02 12:36:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-05-02 12:36:36 +0300
commit49bed732c6df39adb061c6eb94b5083b861ec28f (patch)
treef3ac0aa6302ba3b7b7e78d1f17da9b41acd853a0 /plugins/PluginUpdater/src
parente6fe149ed0269b963a285372c5adc9e35a972bfd (diff)
fixes #1927 completely
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r--plugins/PluginUpdater/src/unzipfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/unzipfile.cpp b/plugins/PluginUpdater/src/unzipfile.cpp
index 92a51887c5..f0f9406d12 100644
--- a/plugins/PluginUpdater/src/unzipfile.cpp
+++ b/plugins/PluginUpdater/src/unzipfile.cpp
@@ -49,7 +49,7 @@ bool extractCurrentFile(unzFile uf, wchar_t *ptszDestPath, wchar_t *ptszBackPath
// This is because there may be more then one file in a single zip
// So we need to check each file
- if (ch && !db_get_b(0, DB_MODULE_FILES, StrToLower(ptrA(mir_strdup(filename))), 1))
+ if (ch && 1 != db_get_b(0, DB_MODULE_FILES, StrToLower(ptrA(mir_strdup(filename))), 1))
return true;
wchar_t tszDestFile[MAX_PATH], tszBackFile[MAX_PATH];