summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-15 12:42:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-15 12:42:41 +0000
commit0bc5a39c53b1422b980f210c1d418fcfde5b14ad (patch)
tree3da201ad4e87898962568d8a5479d8c7566f435c /src/modules
parente11ecaaf2df6c1e50429f5a43f2346795cfce721 (diff)
fixes for chat window resizer
git-svn-id: http://svn.miranda-ng.org/main/trunk@7664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/chat/manager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp
index 40d673bf17..4b2194df98 100644
--- a/src/modules/chat/manager.cpp
+++ b/src/modules/chat/manager.cpp
@@ -90,8 +90,8 @@ static void SM_FreeSession(SESSION_INFO *si)
// contact so the handle may be invalid, therefore db_get_b shall return 0
if (si->hContact && db_get_b(si->hContact, si->pszModule, "ChatRoom", 0) != 0) {
ci.SetOffline(si->hContact, si->iType == GCW_CHATROOM ? TRUE : FALSE);
- db_set_s(si->hContact, m_WndList->pszModule, "Topic", "");
- db_set_s(si->hContact, m_WndList->pszModule, "StatusBar", "");
+ db_set_s(si->hContact, si->pszModule, "Topic", "");
+ db_set_s(si->hContact, si->pszModule, "StatusBar", "");
db_unset(si->hContact, "CList", "StatusMsg");
}
@@ -902,7 +902,6 @@ static void MM_IconsChanged(void)
ImageList_ReplaceIcon(ci.hIconsList, pTemp->OfflineIconIndex + 1, pTemp->hOfflineTalkIcon);
pTemp = pTemp->next;
}
- return;
}
static void MM_FontsChanged(void)