diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-31 22:44:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-31 22:49:22 +0300 |
commit | bebacab622a24452c281d21188f2190ef6733c31 (patch) | |
tree | 6c3a3d9fe18d50668b635eb5490b4ce2e59b8631 /plugins/Scriver/src/tabs.cpp | |
parent | 969e3f67c473c0775512f16a54b677d2430fa2b8 (diff) |
minor code cleaning
Diffstat (limited to 'plugins/Scriver/src/tabs.cpp')
-rw-r--r-- | plugins/Scriver/src/tabs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/tabs.cpp b/plugins/Scriver/src/tabs.cpp index 7dbc4f7c91..b01fa4b507 100644 --- a/plugins/Scriver/src/tabs.cpp +++ b/plugins/Scriver/src/tabs.cpp @@ -1407,12 +1407,12 @@ HWND GetParentWindow(MCONTACT hContact, BOOL bChat) else {
if (g_dat.lastChatParent != nullptr) {
int tabsNum = (int)SendMessage(g_dat.lastChatParent->hwnd, CM_GETCHILDCOUNT, 0, 0);
- if (!(g_dat.flags2 & SMF2_LIMITCHATSTABS) || tabsNum < g_dat.limitChatsTabsNum) {
+ if (!(g_dat.flags2 & SMF2_LIMITCHATSTABS) || tabsNum < g_dat.limitChatsTabsNum)
return g_dat.lastChatParent->hwnd;
- }
}
}
}
+
if (!(g_dat.flags2 & SMF2_SEPARATECHATSCONTAINERS))
newData.isChat = FALSE;
|