summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-27 23:05:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-27 23:05:58 +0300
commit8fa3e54ad4fd6d3f3055273a2f400a3360ab82ea (patch)
tree67c45e9418fc479254d75d432ba0ecc441582fac /plugins/PluginUpdater
parent0b7160fb2ae9797b78050479544cdd55f06cdf43 (diff)
Plugin Updater: fix for the old return code
Diffstat (limited to 'plugins/PluginUpdater')
-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 9e3c21da09..d454109c50 100644
--- a/plugins/PluginUpdater/src/unzipfile.cpp
+++ b/plugins/PluginUpdater/src/unzipfile.cpp
@@ -46,7 +46,7 @@ int 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 && 1 != db_get_b(0, DB_MODULE_FILES, StrToLower(ptrA(mir_strdup(filename))), 1))
- return true;
+ return UNZ_OK;
wchar_t tszDestFile[MAX_PATH], tszBackFile[MAX_PATH];
ptrW ptszNewName(mir_utf8decodeW(filename));