summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-10-26 12:53:50 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-10-26 12:53:50 +0300
commitae82ea7b5c3177c8ad6934a01985a17603162972 (patch)
treecfdcecaf459ac6141d7dfcf5fc30ab0b0b91d3f7 /messages.cpp
parentab62cd41fab9a0c941d035041df98f4ae3346339 (diff)
modified: ../messages.cpp
Diffstat (limited to 'messages.cpp')
-rwxr-xr-xmessages.cpp2
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))