summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-10 13:39:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-10 13:39:05 +0300
commit32e5ab92cc12b7274dc7fa71afede04d5145c899 (patch)
treea550cee98e01cf14480d5d1b8c6d13f1ce045806 /plugins/Scriver/src
parentfc9c6fa412aba2b1c3b2205c79152b80fd28feee (diff)
crash fix
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/chat/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp
index 9dd59362d8..7b88b9ddf5 100644
--- a/plugins/Scriver/src/chat/window.cpp
+++ b/plugins/Scriver/src/chat/window.cpp
@@ -908,6 +908,8 @@ CChatRoomDlg::CChatRoomDlg(SESSION_INFO *si)
void CChatRoomDlg::OnInitDialog()
{
+ m_si->pDlg = this;
+
NotifyLocalWinEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_OPENING);
SetWindowLongPtr(m_hwnd, GWLP_USERDATA, (LONG_PTR)this);