From cf94714e719bff9a7b36af9dedf5121be9147f65 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 15 Nov 2017 17:11:11 +0300 Subject: Static constants replaced by variable --- protocols/IcqOscarJ/src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/IcqOscarJ/src/db.cpp') diff --git a/protocols/IcqOscarJ/src/db.cpp b/protocols/IcqOscarJ/src/db.cpp index cdf2caccdd..ac1be0b425 100644 --- a/protocols/IcqOscarJ/src/db.cpp +++ b/protocols/IcqOscarJ/src/db.cpp @@ -127,7 +127,7 @@ static INT_PTR CALLBACK PwConfirmDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, case WM_INITDIALOG: TranslateDialogDefault(hwndDlg); SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam); - SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_LIMITTEXT, 15, 0); + SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_LIMITTEXT, PASSWORDMAXLEN, 0); return TRUE; case WM_COMMAND: -- cgit v1.2.3