summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-07-31 18:06:20 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-07-31 18:06:20 +0000
commitd3ba0b768a78875a90542a930fc33b0c757bf328 (patch)
tree71933d20858f8234816bbbf7ec88a64909cb97ad /protocols/IcqOscarJ/src
parent9442402df54494c3931a1002bc9d192e484e1c05 (diff)
ICQ: - Fixed unicode conversion
git-svn-id: http://svn.miranda-ng.org/main/trunk@17152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r--protocols/IcqOscarJ/src/utilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/utilities.cpp b/protocols/IcqOscarJ/src/utilities.cpp
index c1f05aacbb..3ecc78a9df 100644
--- a/protocols/IcqOscarJ/src/utilities.cpp
+++ b/protocols/IcqOscarJ/src/utilities.cpp
@@ -562,7 +562,7 @@ char* NickFromHandle(MCONTACT hContact)
if (hContact == INVALID_CONTACT_ID)
return null_strdup(Translate("<invalid>"));
- return null_strdup((char *)pcli->pfnGetContactDisplayName(hContact, 0));
+ return null_strdup(_T2A(pcli->pfnGetContactDisplayName(hContact, 0)));
}
char* NickFromHandleUtf(MCONTACT hContact)
@@ -570,7 +570,7 @@ char* NickFromHandleUtf(MCONTACT hContact)
if (hContact == INVALID_CONTACT_ID)
return ICQTranslateUtf(LPGEN("<invalid>"));
- return tchar_to_utf8((wchar_t*)pcli->pfnGetContactDisplayName(hContact, 0));
+ return tchar_to_utf8(pcli->pfnGetContactDisplayName(hContact, 0));
}
char* strUID(DWORD dwUIN, char *pszUID)