From ec0c325b00df0576ecf6f159e6ea4b6f72a13e49 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 19 May 2012 00:49:42 +0300 Subject: =?UTF-8?q?fixed=20(#32=20=D0=9D=D0=B0=D1=80=D1=83=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=B4=D0=B8=D1=80=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0)=20again=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- options.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index 71e7c0c..45f56d5 100755 --- a/options.cpp +++ b/options.cpp @@ -151,14 +151,10 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA mir_free(tmp2); ListView_SetItemText(hwndList, iRow, 1, (_tcslen(tmp) > 1)?tmp:_T("not set")); mir_free(tmp); - tmp2 = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainName", ""); - tmp = mir_utf8decodeT(tmp2); - mir_free(tmp2); + tmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainName", _T("")); ListView_SetItemText(hwndList, iRow, 2, (_tcslen(tmp) > 1)?tmp:_T("not set")); mir_free(tmp); - tmp2 = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainEmail", ""); - tmp = mir_utf8decodeT(tmp2); - mir_free(tmp2); + tmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainEmail", _T("")); ListView_SetItemText(hwndList, iRow, 3, (_tcslen(tmp) > 1)?tmp:_T("not set")); mir_free(tmp); if(DBGetContactSettingByte(hContact, szGPGModuleName, "GPGEncryption", 0)) -- cgit v1.2.3