From 2a8ecef339ad41f43d7461b11897fe0a9933167c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Aug 2022 15:35:54 +0300 Subject: code cleaning --- plugins/AVS/src/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AVS/src') diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index 2ef34d1901..198135ca3d 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -678,10 +678,10 @@ INT_PTR SetMyAvatar(WPARAM wParam, LPARAM lParam) INT_PTR CALLBACK DlgProcAvatarOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -static INT_PTR ContactOptions(WPARAM wParam, LPARAM) +static INT_PTR ContactOptions(WPARAM wParam, LPARAM lParam) { if (wParam) - CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_AVATAROPTIONS), nullptr, DlgProcAvatarOptions, (LPARAM)wParam); + CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_AVATAROPTIONS), (HWND)lParam, DlgProcAvatarOptions, wParam); return 0; } -- cgit v1.2.3