diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-15 18:52:16 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-15 18:52:16 +0000 |
commit | 58973a21a30bf95427fd43c456e41e35c386218c (patch) | |
tree | 1413fba069ecd351b2c99fa5a53e52c68d8a662c /plugins/FavContacts | |
parent | 55b5cf8a5506f03350e5c80ac86f5717425e4d10 (diff) |
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@434 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts')
-rw-r--r-- | plugins/FavContacts/src/contact_cache.cpp | 3 | ||||
-rw-r--r-- | plugins/FavContacts/src/headers.h | 4 | ||||
-rw-r--r-- | plugins/FavContacts/src/http_api.cpp | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/plugins/FavContacts/src/contact_cache.cpp b/plugins/FavContacts/src/contact_cache.cpp index c61635cc26..9464c22a77 100644 --- a/plugins/FavContacts/src/contact_cache.cpp +++ b/plugins/FavContacts/src/contact_cache.cpp @@ -135,9 +135,8 @@ static bool AppendInfo(TCHAR *buf, int size, HANDLE hContact, int info) ci.cbSize = sizeof(ci);
ci.hContact = hContact;
ci.dwFlag = info;
-#if defined(UNICODE) || defined(_UNICODE)
ci.dwFlag |= CNF_UNICODE;
-#endif
+
bool ret = false;
diff --git a/plugins/FavContacts/src/headers.h b/plugins/FavContacts/src/headers.h index 677decedcb..59d3693926 100644 --- a/plugins/FavContacts/src/headers.h +++ b/plugins/FavContacts/src/headers.h @@ -20,10 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _CRT_SECURE_NO_DEPRECATE
-#if defined(UNICODE) && !defined(_UNICODE)
- #define _UNICODE
-#endif
-
#include <tchar.h>
#define _WIN32_WINNT 0x0501
#include <windows.h>
diff --git a/plugins/FavContacts/src/http_api.cpp b/plugins/FavContacts/src/http_api.cpp index ac9171f9c5..9b2ac3f3c3 100644 --- a/plugins/FavContacts/src/http_api.cpp +++ b/plugins/FavContacts/src/http_api.cpp @@ -97,14 +97,14 @@ public: m_socket->Send(s);
}
-#ifdef UNICODE
+
void Send(WCHAR *ws)
{
char *s = mir_utf8encodeW(ws);
m_socket->Send(s);
mir_free(s);
}
-#endif
+
void Send(int i)
{
|