summaryrefslogtreecommitdiff
path: root/protocols/MSN/msn_lists.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 16:02:14 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 16:02:14 +0000
commit67f1c36da9aca19e37803110aa243280e5cf053b (patch)
tree2ded9275bfcbcea8151a4b32deb6c14c95de0e78 /protocols/MSN/msn_lists.cpp
parent4aa6229698b946e52ce19018aaf13f8b92fb168e (diff)
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/msn_lists.cpp')
-rw-r--r--protocols/MSN/msn_lists.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/MSN/msn_lists.cpp b/protocols/MSN/msn_lists.cpp
index 2a63bb530c..5325e8190b 100644
--- a/protocols/MSN/msn_lists.cpp
+++ b/protocols/MSN/msn_lists.cpp
@@ -545,13 +545,11 @@ 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);