diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-14 16:22:13 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-14 16:22:13 +0000 |
commit | d5d023f683b23fe26ddea93738cb721d532804f0 (patch) | |
tree | 21e7398686c7a5d1604d58bfb71ca4329c84be66 /protocols/IcqOscarJ/log.cpp | |
parent | e58823d961a630eb62e60d2ccb443761ba5f1704 (diff) |
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/log.cpp')
-rw-r--r-- | protocols/IcqOscarJ/log.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/IcqOscarJ/log.cpp b/protocols/IcqOscarJ/log.cpp index c6ff958f70..cb8f923b36 100644 --- a/protocols/IcqOscarJ/log.cpp +++ b/protocols/IcqOscarJ/log.cpp @@ -136,11 +136,9 @@ void CIcqProto::icq_LogUsingErrorCode(int level, DWORD dwError, const char *szMs if (FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwError, 0, err, SIZEOF(err), NULL))
{
-#if defined( _UNICODE )
- pszErrorMsg = make_utf8_string(err);
-#else
- utf8_encode(err, &pszErrorMsg);
-#endif
+
+ pszErrorMsg = make_utf8_string(err);
+
bNeedFree = TRUE;
}
break;
|