diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-19 00:49:42 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-19 00:49:42 +0300 |
commit | ec0c325b00df0576ecf6f159e6ea4b6f72a13e49 (patch) | |
tree | 1427703e5c048f693afa37bb70d3016d657b0ea1 /options.cpp | |
parent | 365d949d8ec2712fbdec479e73e78cbbe80b3399 (diff) |
fixed (#32 Нарушена кодировка) again ...
Diffstat (limited to 'options.cpp')
-rwxr-xr-x | options.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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))
|