From 2f42be9b6f7477aa873a8898d765e2ce0d264790 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 16 Apr 2016 12:48:30 +0000 Subject: PluginUpdater: - Fixed resetting database entry git-svn-id: http://svn.miranda-ng.org/main/trunk@16676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/DlgListNew.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/PluginUpdater/src/DlgListNew.cpp') diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index cab362e895..0bd2dd9a0e 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -72,7 +72,7 @@ static void ApplyDownloads(void *param) ListView_SetItemText(hwndList, i, 1, TranslateT("Succeeded.")); if (unzip(todo[i].File.tszDiskPath, tszMirandaPath, tszFileBack,false)) SafeDeleteFile(todo[i].File.tszDiskPath); // remove .zip after successful update - db_unset(NULL, DB_MODULE_NEW_FILES, StrToLower(_T2A(todo[i].tszOldName))); + db_unset(NULL, DB_MODULE_NEW_FILES, _T2A(todo[i].tszOldName)); } else ListView_SetItemText(hwndList, i, 1, TranslateT("Failed!")); -- cgit v1.2.3