summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_xstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/jabber_xstatus.cpp')
-rw-r--r--protocols/JabberG/jabber_xstatus.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/JabberG/jabber_xstatus.cpp b/protocols/JabberG/jabber_xstatus.cpp
index fdd7a44e2e..efdb377edc 100644
--- a/protocols/JabberG/jabber_xstatus.cpp
+++ b/protocols/JabberG/jabber_xstatus.cpp
@@ -1382,11 +1382,7 @@ TCHAR* a2tf( const TCHAR* str, BOOL unicode )
if ( str == NULL )
return NULL;
- #if defined( _UNICODE )
- return ( unicode ) ? mir_tstrdup( str ) : mir_a2t(( char* )str );
- #else
- return mir_strdup( str );
- #endif
+ return ( unicode ) ? mir_tstrdup( str ) : mir_a2t(( char* )str );
}
void overrideStr( TCHAR*& dest, const TCHAR* src, BOOL unicode, const TCHAR* def = NULL )