diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-15 12:50:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-15 12:50:38 +0300 |
commit | f6f193f8d9ef286699be2c2282a9c448f7668842 (patch) | |
tree | eb5ca088d0ce320fc6f78a73c857e5899ab51bf0 /protocols/IcqOscarJ/src/loginpassword.cpp | |
parent | 854f47adb115f3d03d6a64543178e84877acb0b4 (diff) |
fixes #1031 (ICQ password must be of 14 chars most)
Diffstat (limited to 'protocols/IcqOscarJ/src/loginpassword.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/loginpassword.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/loginpassword.cpp b/protocols/IcqOscarJ/src/loginpassword.cpp index a99e1e6849..8d76ee7bba 100644 --- a/protocols/IcqOscarJ/src/loginpassword.cpp +++ b/protocols/IcqOscarJ/src/loginpassword.cpp @@ -44,7 +44,7 @@ INT_PTR CALLBACK LoginPasswdDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA mir_snwprintf(pszUIN, TranslateT("Enter a password for UIN %u:"), dwUin);
SetDlgItemText(hwndDlg, IDC_INSTRUCTION, pszUIN);
- SendDlgItemMessage(hwndDlg, IDC_LOGINPW, EM_LIMITTEXT, PASSWORDMAXLEN - 1, 0);
+ SendDlgItemMessage(hwndDlg, IDC_LOGINPW, EM_LIMITTEXT, PASSWORDMAXLEN, 0);
CheckDlgButton(hwndDlg, IDC_SAVEPASS, ppro->getByte("RememberPass", 0) ? BST_CHECKED : BST_UNCHECKED);
}
|