diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-06-15 23:13:51 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-06-15 23:13:51 +0000 |
commit | 598bd198b278e05681e79d995f9be56e057832f5 (patch) | |
tree | 0e46a80d3b8a5c1720613518bc607418e1c5c9b1 /plugins | |
parent | e7fc020a82d3c3d4b9d9f19f98b09057bdedd4a0 (diff) |
PluginUpdater: lowercase fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4970 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/unzipfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/unzipfile.cpp b/plugins/PluginUpdater/src/unzipfile.cpp index ece6a2866d..c56a7a1ab3 100644 --- a/plugins/PluginUpdater/src/unzipfile.cpp +++ b/plugins/PluginUpdater/src/unzipfile.cpp @@ -58,7 +58,7 @@ bool extractCurrentFile(unzFile uf, TCHAR *ptszDestPath, TCHAR *ptszBackPath) for (char *p = strchr(filename, '/'); p; p = strchr(p+1, '/'))
*p = '\\';
- if (!db_get_b(NULL, MODNAME "Files", StrToLower(ptrA(filename)), true))
+ if (!db_get_b(NULL, MODNAME "Files", StrToLower(ptrA(_strdup(filename))), true))
return true;
TCHAR tszDestFile[MAX_PATH], tszBackFile[MAX_PATH];
|