diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-11 23:37:54 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-11 23:37:54 +0300 |
commit | f0bca208f1d668f0ad3d51afdafbb9d30ec8555b (patch) | |
tree | 19354a120aa15c7b204a0061b03e1d6f340d0760 /main.cpp | |
parent | a5086db857e474538a24df4b05e5aab831d4c2fe (diff) |
encrypted filetransfers //two paralell threads of more than one file will fail, miranda api lack of documentation, and ghaza does not
remember how to edentify thread )
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -845,7 +845,7 @@ static BOOL CALLBACK DlgProcKeyGenDialog(HWND hwndDlg, UINT msg, WPARAM wParam, f<<"\n"; tmp = new TCHAR [64]; //i hope this is enough for password GetDlgItemText(hwndDlg, IDC_KEY_PASSWD, tmp, 64); - if(!tmp[0]) + if(tmp[0]) { f<<"Passphrase: "; tmp2 = mir_utf8encodeW(tmp); @@ -864,7 +864,7 @@ static BOOL CALLBACK DlgProcKeyGenDialog(HWND hwndDlg, UINT msg, WPARAM wParam, f<<"\n"; tmp = new TCHAR [512]; GetDlgItemText(hwndDlg, IDC_KEY_COMMENT, tmp, 512); - if(!tmp[0]) + if(tmp[0]) { tmp2 = mir_utf8encodeW(tmp); f<<"Name-Comment: "; |