summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}