summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 9f5be7be28..066875a243 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -224,9 +224,9 @@ static int MessageSettingChanged(WPARAM hContact, LPARAM lParam)
}
// If a contact gets deleted, close its message window if there is any
-static int ContactDeleted(WPARAM wParam, LPARAM)
+static int ContactDeleted(WPARAM hContact, LPARAM)
{
- auto *pDlg = Srmm_FindDialog(wParam);
+ auto *pDlg = Srmm_FindDialog(hContact);
if (pDlg)
pDlg->CloseTab();