From 49bed732c6df39adb061c6eb94b5083b861ec28f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 May 2019 12:36:36 +0300 Subject: fixes #1927 completely --- plugins/PluginUpdater/src/unzipfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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]; -- cgit v1.2.3