summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-07 19:30:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-07 19:30:17 +0300
commitf95e7a84fc77ec0c535970a68b2600f15dc1e12d (patch)
tree443fcc2b403d0b36bac14a4ead20f3661980b712 /plugins/TabSRMM/src/utils.cpp
parentdb9ffeb3a32a652da31c0233987001bc56447dfd (diff)
returned back the binary compatibility of tabsrmm container settings
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index 20fef2d1ed..d7027d59e4 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -498,9 +498,6 @@ int Utils::ReadContainerSettingsFromDB(const MCONTACT hContact, TContainerSettin
{
memcpy(cs, &PluginConfig.globalContainerSettings, sizeof(TContainerSettings));
- if (hContact == 0 && szKey == 0)
- cs->iSplitterX = M.GetDword("splitsplitx", db_get_dw(0, CHAT_MODULE, "SplitterX", 150));
-
DBVARIANT dbv = { 0 };
if (0 == db_get(hContact, SRMSGMOD_T, szKey ? szKey : CNT_KEYNAME, &dbv)) {
if (dbv.type == DBVT_BLOB && dbv.cpbVal > 0 && dbv.cpbVal <= sizeof(TContainerSettings)) {