summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-23 14:15:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-23 14:15:06 +0300
commitbc8768c453fade64f20ff18c24092a41f94993a0 (patch)
tree908a832615b7dab0ff09c70d1c70e39bf3ff247e /plugins/ContactsPlus
parentdb937fbda0117e8bec530e7deda7b94eea106e78 (diff)
fixes #2493 (Проблема с Юникодом в диалоге добавления контакта)
Diffstat (limited to 'plugins/ContactsPlus')
-rw-r--r--plugins/ContactsPlus/src/receive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ContactsPlus/src/receive.cpp b/plugins/ContactsPlus/src/receive.cpp
index 2a6144c5b3..f4a0b1335d 100644
--- a/plugins/ContactsPlus/src/receive.cpp
+++ b/plugins/ContactsPlus/src/receive.cpp
@@ -186,7 +186,7 @@ INT_PTR CALLBACK RecvDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
HWND hLV = GetDlgItem(hwndDlg, IDC_CONTACTS);
ListView_SetExtendedListViewStyle(hLV, LVS_EX_CHECKBOXES|LVS_EX_FULLROWSELECT);
// add columns
- RecvListView_AddColumn(hLV, 120, _A2T((char*)CallProtoService(szProto, PS_GETCAPS, PFLAG_UNIQUEIDTEXT, 0)), 0);
+ RecvListView_AddColumn(hLV, 120, (wchar_t*)CallProtoService(szProto, PS_GETCAPS, PFLAG_UNIQUEIDTEXT, 0), 0);
RecvListView_AddColumn(hLV, 100, TranslateT("Nick"), 1);
RecvListView_AddColumn(hLV, 100, TranslateT("First Name"), 2);
RecvListView_AddColumn(hLV, 100, TranslateT("Last Name"), 3);