diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-18 18:26:13 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-18 18:26:13 +0300 |
commit | 570935ac486f2e1f5d36ecd07216e1474603c8ce (patch) | |
tree | 3e17330e3141e4cc572be83eb20be054b8aaea15 /options.cpp | |
parent | 05b357725cb6b52eaeea808c8570d7c7540dd059 (diff) |
fixed (#32 Нарушена кодировка)
Diffstat (limited to 'options.cpp')
-rwxr-xr-x | options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options.cpp b/options.cpp index c3c2d95..71e7c0c 100755 --- a/options.cpp +++ b/options.cpp @@ -152,12 +152,12 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA ListView_SetItemText(hwndList, iRow, 1, (_tcslen(tmp) > 1)?tmp:_T("not set"));
mir_free(tmp);
tmp2 = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainName", "");
- tmp = mir_a2t(tmp2);
+ tmp = mir_utf8decodeT(tmp2);
mir_free(tmp2);
ListView_SetItemText(hwndList, iRow, 2, (_tcslen(tmp) > 1)?tmp:_T("not set"));
mir_free(tmp);
tmp2 = UniGetContactSettingUtf(hContact, szGPGModuleName, "KeyMainEmail", "");
- tmp = mir_a2t(tmp2);
+ tmp = mir_utf8decodeT(tmp2);
mir_free(tmp2);
ListView_SetItemText(hwndList, iRow, 3, (_tcslen(tmp) > 1)?tmp:_T("not set"));
mir_free(tmp);
|