summaryrefslogtreecommitdiff
path: root/protocols/MSN/msn_lists.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 16:18:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 16:18:13 +0000
commit09ba010a1f1966818249e15bb652269a944d1476 (patch)
treefd8f5e1ebb8807cbcf190b31774ed3449cfb6bc8 /protocols/MSN/msn_lists.cpp
parent67f1c36da9aca19e37803110aa243280e5cf053b (diff)
MSN reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/msn_lists.cpp')
-rw-r--r--protocols/MSN/msn_lists.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/MSN/msn_lists.cpp b/protocols/MSN/msn_lists.cpp
index 5325e8190b..2a63bb530c 100644
--- a/protocols/MSN/msn_lists.cpp
+++ b/protocols/MSN/msn_lists.cpp
@@ -545,11 +545,13 @@ static void SaveSettings(HANDLE hItem, HWND hwndList, CMsnProto* proto)
}
else if (IsHContactInfo(hItem))
{
-
+#ifdef _UNICODE
TCHAR buf[MSN_MAX_EMAIL_LEN];
SendMessage(hwndList, CLM_GETITEMTEXT, (WPARAM)hItem, (LPARAM)buf);
WideCharToMultiByte(CP_ACP, 0, buf, -1, szEmail, sizeof(szEmail), 0, 0);
-
+#else
+ SendMessage(hwndList, CLM_GETITEMTEXT, (WPARAM)hItem, (LPARAM)szEmail);
+#endif
}
int dwMask = proto->Lists_GetMask(szEmail);