summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_std.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 16:22:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 16:22:13 +0000
commitd5d023f683b23fe26ddea93738cb721d532804f0 (patch)
tree21e7398686c7a5d1604d58bfb71ca4329c84be66 /protocols/JabberG/jabber_std.cpp
parente58823d961a630eb62e60d2ccb443761ba5f1704 (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/JabberG/jabber_std.cpp')
-rw-r--r--protocols/JabberG/jabber_std.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_std.cpp b/protocols/JabberG/jabber_std.cpp
index abf40979a9..a480b82924 100644
--- a/protocols/JabberG/jabber_std.cpp
+++ b/protocols/JabberG/jabber_std.cpp
@@ -240,13 +240,8 @@ TCHAR* CJabberProto::JGetStringCrypt( HANDLE hContact, char* valueName )
return NULL;
sttCryptString(dbv.pszVal);
-
-#ifdef UNICODE
WCHAR *res = mir_utf8decodeW(dbv.pszVal);
-#else
- mir_utf8decode(dbv.pszVal, NULL);
- char *res = mir_strdup(dbv.pszVal);
-#endif
+
DBFreeVariant(&dbv);
return res;