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/IRCG/ircproto.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/IRCG/ircproto.cpp')
-rw-r--r-- | protocols/IRCG/ircproto.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/IRCG/ircproto.cpp b/protocols/IRCG/ircproto.cpp index 1d72f2ac88..f167eddad6 100644 --- a/protocols/IRCG/ircproto.cpp +++ b/protocols/IRCG/ircproto.cpp @@ -859,12 +859,7 @@ int __cdecl CIrcProto::SendMsg( HANDLE hContact, int flags, const char* pszSrc ) else result = mir_a2t_cp( pszSrc, codepage );
}
else if ( flags & PREF_UTF ) {
- #if defined( _UNICODE )
- mir_utf8decode( NEWSTR_ALLOCA(pszSrc), &result );
- #else
- result = mir_strdup( pszSrc );
- mir_utf8decodecp( result, codepage, NULL );
- #endif
+ mir_utf8decode( NEWSTR_ALLOCA(pszSrc), &result );
}
else result = mir_a2t_cp( pszSrc, codepage );
|