summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-03 19:23:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-03 19:23:53 +0300
commit1516e9198b589f215d0fd7d52a6aecce2dc380f2 (patch)
tree3d378daa18f11e122d951fb80f79dfb770a986d0 /plugins/TabSRMM/src/chat/main.cpp
parent7f1d7982f443ebd5ed80ae980145f911842a0668 (diff)
tabSRMM:
- fixes #728; - panel object aggregated instead of embedding; - more UI buttons for the groupchat window; - crazy translation optimization removed
Diffstat (limited to 'plugins/TabSRMM/src/chat/main.cpp')
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp
index ae1d259b6d..76c6efdb13 100644
--- a/plugins/TabSRMM/src/chat/main.cpp
+++ b/plugins/TabSRMM/src/chat/main.cpp
@@ -55,8 +55,8 @@ static void OnReplaceSession(SESSION_INFO *si)
static void OnSetTopic(SESSION_INFO *si)
{
- if (si->hWnd && si->dat->m_pPanel)
- si->dat->m_pPanel->Invalidate(true);
+ if (si->hWnd)
+ si->dat->m_pPanel.Invalidate(true);
}
static void OnNewUser(SESSION_INFO *si, USERINFO*)