summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ')
-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)