diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 14:51:46 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 14:51:46 +0000 |
commit | 8617d7e00546f892c9084f7c382648b23d8bbb63 (patch) | |
tree | 2be51254236644b678418c1147f223a30e030bda /plugins/WhenWasIt/utils.cpp | |
parent | 05c989e58aeffcfb59cebaca6797cb69dd25cb1e (diff) |
another portion of "#ifdef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/utils.cpp')
-rw-r--r-- | plugins/WhenWasIt/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/utils.cpp b/plugins/WhenWasIt/utils.cpp index 86dfc05c44..6bfbcd326e 100644 --- a/plugins/WhenWasIt/utils.cpp +++ b/plugins/WhenWasIt/utils.cpp @@ -174,9 +174,9 @@ TCHAR *GetContactName(HANDLE hContact, char *szProto) ctInfo.szProto = proto;
}
ctInfo.dwFlag = CNF_DISPLAY;
-#ifdef _UNICODE
+
ctInfo.dwFlag += CNF_UNICODE;
-#endif
+
ctInfo.hContact = hContact;
//_debug_message("retrieving contact name for %d", hContact);
ret = CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) &ctInfo);
@@ -221,9 +221,9 @@ TCHAR *GetContactID(HANDLE hContact, char *szProto) ctInfo.cbSize = sizeof(ctInfo);
ctInfo.szProto = szProto;
ctInfo.dwFlag = CNF_UNIQUEID;
-#ifdef _UNICODE
+
ctInfo.dwFlag |= CNF_UNICODE;
-#endif
+
ctInfo.hContact = hContact;
ret = CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) &ctInfo);
TCHAR *buffer;
|