diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:52:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:52:52 +0000 |
commit | 2e931a0b2780587d85f3902468c935f5adba70c8 (patch) | |
tree | 9652256931729169133abb99ccf91ff2bf4b5b0b /plugins/Dbx_mdb/src/ui.cpp | |
parent | ddd1af0fdf37364c9472faedad941b4cc5f1b465 (diff) |
more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@17137 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdb/src/ui.cpp b/plugins/Dbx_mdb/src/ui.cpp index 3c12bf6dd6..7f73b41cd6 100644 --- a/plugins/Dbx_mdb/src/ui.cpp +++ b/plugins/Dbx_mdb/src/ui.cpp @@ -108,13 +108,13 @@ static INT_PTR CALLBACK sttChangePassword(HWND hwndDlg, UINT uMsg, WPARAM wParam case IDOK:
TCHAR buf2[100];
GetDlgItemText(hwndDlg, IDC_USERPASS1, buf2, _countof(buf2));
- if (_tcslen(buf2) < 3) {
+ if (wcslen(buf2) < 3) {
SetDlgItemText(hwndDlg, IDC_HEADERBAR, TranslateT("Password is too short!"));
goto LBL_Error;
}
GetDlgItemText(hwndDlg, IDC_USERPASS2, buf, _countof(buf));
- if (_tcscmp(buf2, buf)) {
+ if (wcscmp(buf2, buf)) {
SetDlgItemText(hwndDlg, IDC_HEADERBAR, TranslateT("Passwords do not match!"));
goto LBL_Error;
}
|