From 8937c49faab219b51b9863847406a21945d3a9cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Apr 2018 14:15:55 +0300 Subject: Windows lists: - fix for a 64-bit issue that could cause a crash; - code cleaning --- plugins/YAMN/src/proto/pop3/pop3opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/YAMN/src/proto') diff --git a/plugins/YAMN/src/proto/pop3/pop3opt.cpp b/plugins/YAMN/src/proto/pop3/pop3opt.cpp index 33a679651a..07889eaee3 100644 --- a/plugins/YAMN/src/proto/pop3/pop3opt.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3opt.cpp @@ -665,7 +665,7 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lP WindowList_Remove(pYAMNVar->MessageWnds, hDlg); SendMessage(GetParent(hDlg), PSM_UNCHANGED, (WPARAM)hDlg, 0); } - else WindowList_Add(pYAMNVar->MessageWnds, hDlg, NULL); + else WindowList_Add(pYAMNVar->MessageWnds, hDlg); return TRUE; case WM_YAMN_CHANGESTATUS: @@ -1177,7 +1177,7 @@ INT_PTR CALLBACK DlgProcPOP3AccPopup(HWND hDlg, UINT msg, WPARAM wParam, LPARAM SendMessage(GetParent(hDlg), PSM_UNCHANGED, (WPARAM)hDlg, 0); } else { - WindowList_Add(pYAMNVar->MessageWnds, hDlg, NULL); + WindowList_Add(pYAMNVar->MessageWnds, hDlg); int index = SendDlgItemMessage(hDlg, IDC_COMBOACCOUNT, CB_GETCURSEL, 0, 0); HPOP3ACCOUNT temp = ActualAccount; -- cgit v1.2.3