diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-07 13:20:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-07 13:20:17 +0000 |
commit | 7cb44a3c4447a149004189b046a67def1b65a356 (patch) | |
tree | 2d7e0b08597167d5d9e24a99602a49c83492b631 /plugins/TabSRMM/src/container.cpp | |
parent | 5801a85ed970b55b2041c588914f982039dc8031 (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.cpp | 9 |
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);
|