diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2011-10-26 12:53:50 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2011-10-26 12:53:50 +0300 |
commit | ae82ea7b5c3177c8ad6934a01985a17603162972 (patch) | |
tree | cfdcecaf459ac6141d7dfcf5fc30ab0b0b91d3f7 /messages.cpp | |
parent | ab62cd41fab9a0c941d035041df98f4ae3346339 (diff) |
modified: ../messages.cpp
Diffstat (limited to 'messages.cpp')
-rwxr-xr-x | messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/messages.cpp b/messages.cpp index dc249da..c563e78 100755 --- a/messages.cpp +++ b/messages.cpp @@ -921,7 +921,7 @@ static BOOL CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam, L { TCHAR tmp[64]; GetDlgItemText(hwndDlg, IDC_KEY_PASSWORD, tmp, 64); - if(_tcslen(tmp) > 0) + if(tmp[0]) { extern TCHAR *password; if(IsDlgButtonChecked(hwndDlg, IDC_SAVE_PASSWORD)) |