From 4a67cbcb142409ccafc57a64186591e7976853ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Mar 2017 12:48:06 +0300 Subject: compilation fix --- protocols/MSN/src/msn_opts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MSN') diff --git a/protocols/MSN/src/msn_opts.cpp b/protocols/MSN/src/msn_opts.cpp index 02f9706da4..e672669625 100644 --- a/protocols/MSN/src/msn_opts.cpp +++ b/protocols/MSN/src/msn_opts.cpp @@ -91,7 +91,7 @@ static INT_PTR CALLBACK DlgProcMsnOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP char szPassword[100]; if (!db_get_static(NULL, proto->m_szModuleName, "Password", szPassword, sizeof(szPassword))) { - tBuffer[99] = 0; + szPassword[99] = 0; SetDlgItemTextA(hwndDlg, IDC_PASSWORD, szPassword); } SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_SETLIMITTEXT, 99, 0); @@ -517,7 +517,7 @@ static INT_PTR CALLBACK DlgProcAccMgrUI(HWND hwndDlg, UINT msg, WPARAM wParam, L char szPassword[100]; if (!db_get_static(NULL, proto->m_szModuleName, "Password", szPassword, sizeof(szPassword))) { - tBuffer[99] = 0; + szPassword[99] = 0; SetDlgItemTextA(hwndDlg, IDC_PASSWORD, szPassword); } SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_SETLIMITTEXT, 99, 0); -- cgit v1.2.3