From 0bc0ec3803c1d95798e551ec7c1d431d2ac98075 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Mar 2017 22:32:21 +0300 Subject: fix for writing options into db --- plugins/TabSRMM/src/globals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/globals.cpp') diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index ac23004e1c..4260385af8 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -494,7 +494,7 @@ int CGlobals::OkToExit(WPARAM, LPARAM) CMimAPI::m_shutDown = true; PluginConfig.globalContainerSettings.fPrivate = false; - ::db_set_blob(0, SRMSGMOD_T, CNT_KEYNAME, &PluginConfig.globalContainerSettings, sizeof(TContainerSettings)); + Utils::WriteContainerSettingsToDB(0, &PluginConfig.globalContainerSettings, nullptr); return 0; } -- cgit v1.2.3