From 28b81bbed5d8db354349fd787c3db4123e55d423 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Nov 2018 15:43:25 +0300 Subject: code cleaning --- 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 b55d9ba333..52321a1dad 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -74,7 +74,7 @@ static void ApplyDownloads(void *param) ListView_SetItemText(hwndList, i, 1, TranslateT("Succeeded.")); if (unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack, false)) SafeDeleteFile(p.File.tszDiskPath); // remove .zip after successful update - db_unset(NULL, DB_MODULE_NEW_FILES, _T2A(p.tszOldName)); + db_unset(0, DB_MODULE_NEW_FILES, _T2A(p.tszOldName)); } else ListView_SetItemText(hwndList, i, 1, TranslateT("Failed!")); -- cgit v1.2.3