diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-25 14:03:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-25 14:03:00 +0300 |
commit | c482ba319b40aebfe6851bfe845b35e0189a93a1 (patch) | |
tree | 49e29408596dcd74a5a9befd2cf1aac329201fa0 | |
parent | bd38e9394c12d86aef954d74fd6137498cd41044 (diff) |
Scriver: fix for a rare crash in group chats
-rw-r--r-- | plugins/Scriver/src/tabs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/tabs.cpp b/plugins/Scriver/src/tabs.cpp index d12206e9e4..e024f1d50f 100644 --- a/plugins/Scriver/src/tabs.cpp +++ b/plugins/Scriver/src/tabs.cpp @@ -1325,7 +1325,7 @@ HWND GetParentWindow(MCONTACT hContact, bool bChat) }
else {
if (g_dat.lastChatParent != nullptr) {
- int tabsNum = g_dat.lastParent->GetChildCount();
+ int tabsNum = g_dat.lastChatParent->GetChildCount();
if (!g_dat.flags2.bLimitChatTabs || tabsNum < g_dat.limitChatsTabsNum)
return g_dat.lastChatParent->m_hwnd;
}
|