diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-04 00:50:35 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-04 00:50:35 +0300 |
commit | 0a3c70d8388264a9d4c21c9063c4a493b88b882c (patch) | |
tree | 644e76bd64764f07bae54945a8abcb40f2a51c88 /options.cpp | |
parent | b53bf2d6db46cd9b7b1b681b0d2bee448f79a400 (diff) |
bugfixes, ability to set default password
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/options.cpp b/options.cpp index 161a5e5..0c19b60 100644 --- a/options.cpp +++ b/options.cpp @@ -945,9 +945,7 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP } if(!hContact) { - char *tmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyID", ""); - TCHAR *fp = mir_a2t(tmp); - mir_free(tmp); + TCHAR *fp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyID", _T("")); { string out; DWORD code; |