summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-18 14:14:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-18 14:14:59 +0300
commit0773057fe3c1055649500674dfb301f302062378 (patch)
tree5d7e0f765bf436de2bb9a0e6655bd605a39d722c /src
parent2baad6beddf3d239291773001b37df046a294d80 (diff)
StdMsg: contact removal doesn't close a window
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 1b2fa2a775..32f51cd7c7 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -217,7 +217,7 @@ static int ContactDeleted(WPARAM wParam, LPARAM)
{
HWND hwnd = Srmm_FindWindow(wParam);
if (hwnd)
- SendMessage(hwnd, WM_CLOSE, 0, 0);
+ SendMessage(hwnd, DM_CLOSETAB, 0, 0);
return 0;
}