diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-06 13:51:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-06 13:51:43 +0300 |
commit | 2baf1b9fc764b59f963f94faf01cbed28622717a (patch) | |
tree | 819beadce3ab775e584430f3fd12f4e6722a02c0 /plugins/TabSRMM/src/mim.cpp | |
parent | ac92ec1a55354e57b8cc6d4fd77aa2e75a896242 (diff) |
TNewWindowData - unneeded structure removed
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index b85e7ac1e8..2ef1e245bc 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -502,7 +502,7 @@ int CMimAPI::MessageEventAdded(WPARAM hContact, LPARAM hDbEvent) if (pContainer == NULL) pContainer = CreateContainer(szName, FALSE, hContact); if (pContainer) - CreateNewTabForContact(pContainer, hContact, 0, NULL, TRUE, TRUE, FALSE, 0); + CreateNewTabForContact(pContainer, hContact, true, true, false); return 0; } @@ -511,18 +511,18 @@ int CMimAPI::MessageEventAdded(WPARAM hContact, LPARAM hDbEvent) if (pContainer != NULL) { if (M.GetByte("limittabs", 0) && !wcsncmp(pContainer->szName, L"default", 6)) { if ((pContainer = FindMatchingContainer(L"default")) != NULL) { - CreateNewTabForContact(pContainer, hContact, 0, NULL, bActivate, bPopup, TRUE, hDbEvent); + CreateNewTabForContact(pContainer, hContact, bActivate, bPopup, true, hDbEvent); return 0; } } else { - CreateNewTabForContact(pContainer, hContact, 0, NULL, bActivate, bPopup, TRUE, hDbEvent); + CreateNewTabForContact(pContainer, hContact, bActivate, bPopup, true, hDbEvent); return 0; } } if (bAutoContainer) { if ((pContainer = CreateContainer(szName, CNT_CREATEFLAG_MINIMIZED, hContact)) != NULL) { // 2 means create minimized, don't popup... - CreateNewTabForContact(pContainer, hContact, 0, NULL, bActivate, bPopup, TRUE, hDbEvent); + CreateNewTabForContact(pContainer, hContact, bActivate, bPopup, true, hDbEvent); SendMessageW(pContainer->hwnd, WM_SIZE, 0, 0); } return 0; |