From f3d248034ff8629704e7a76a09b2d565df92c195 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 27 Oct 2010 19:54:43 +0300 Subject: modified: init.cpp modified: main.cpp modified: options.cpp --- main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index d2d1984..501caa5 100644 --- a/main.cpp +++ b/main.cpp @@ -1372,11 +1372,11 @@ static BOOL CALLBACK DlgProcImportKeyDialog(HWND hwndDlg, UINT msg, WPARAM wPara cmd += server; delete [] server; cmd += _T("\" --recv-keys "); - char *tmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyID_Prescense", ""); - TCHAR *tmp2 = mir_a2t(tmp); - mir_free(tmp); - cmd += tmp2; - mir_free(tmp2); +// char *tmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyID_Prescense", ""); +// TCHAR *tmp2 = mir_a2t(tmp); +// mir_free(tmp); + cmd += toUTF16(hcontact_data[hContact].key_in_prescense); +// mir_free(tmp2); gpg_execution_params params; pxResult result; params.cmd = &cmd; -- cgit v1.2.3