From 7060a1f3dcde4355124316e6aab3a4e336812155 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 May 2015 14:55:03 +0000 Subject: more utf fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@13775 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/fam_13servclist.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'protocols/IcqOscarJ/src/fam_13servclist.cpp') diff --git a/protocols/IcqOscarJ/src/fam_13servclist.cpp b/protocols/IcqOscarJ/src/fam_13servclist.cpp index a9faf4b891..fd917076b1 100644 --- a/protocols/IcqOscarJ/src/fam_13servclist.cpp +++ b/protocols/IcqOscarJ/src/fam_13servclist.cpp @@ -1388,10 +1388,6 @@ void CIcqProto::handleRecvAuthRequest(unsigned char *buf, size_t wLen) memcpy(szReason, buf, wReasonLen); szReason[wReasonLen] = '\0'; nReasonLen = (int)mir_strlen(szReason); - - char *temp = (char*)_alloca(nReasonLen + 2); - if (!IsUSASCII(szReason, nReasonLen) && UTF8_IsValid(szReason)) - utf8_decode_static(szReason, temp, nReasonLen + 1); } // Read nick name from DB -- cgit v1.2.3