summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/container.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-07 13:20:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-07 13:20:17 +0000
commit7cb44a3c4447a149004189b046a67def1b65a356 (patch)
tree2d7e0b08597167d5d9e24a99602a49c83492b631 /plugins/TabSRMM/src/container.cpp
parent5801a85ed970b55b2041c588914f982039dc8031 (diff)
- SM cleaning;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5256 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r--plugins/TabSRMM/src/container.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp
index 907bc53c3e..b40276d6fa 100644
--- a/plugins/TabSRMM/src/container.cpp
+++ b/plugins/TabSRMM/src/container.cpp
@@ -1910,14 +1910,7 @@ panel_found:
RemoveContainerFromList(pContainer);
if (PluginConfig.m_MathModAvail)
CallService(MTH_HIDE, 0, 0);
- {
- SESSION_INFO *node = m_WndList;
- while (node) {
- if (node->pContainer == pContainer)
- node->pContainer = 0;
- node = node->next;
- }
- }
+ SM_RemoveContainer(pContainer);
if (pContainer->cachedDC) {
SelectObject(pContainer->cachedDC, pContainer->oldHBM);
DeleteObject(pContainer->cachedHBM);