This didn't help :( On Friday 27 May 2005 10:12, Jon Keating wrote: >Update of /cvsroot/licq/licq/src >In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27005 > >Modified Files: > translate.cpp >Log Message: >Had them reversed, d'oh! > > >Index: translate.cpp >=================================================================== >RCS file: /cvsroot/licq/licq/src/translate.cpp,v >retrieving revision 1.14 >retrieving revision 1.15 >diff -u -d -r1.14 -r1.15 >--- translate.cpp 20 May 2005 14:59:58 -0000 1.14 >+++ translate.cpp 27 May 2005 06:12:44 -0000 1.15 >@@ -302,10 +302,10 @@ > unsigned short nLen = strlen(_sz) * 3; > char *szNewStr = new char[nLen + 1]; > unsigned int nInSize, nOutSize; >- char *szOut = _sz, *szIn = szNewStr; >+ char *szOut = szNewStr, *szIn = _sz; > iconv_t tr; > >- nInSize = strlen(_sz); >+ nInSize = strlen(szIn); > nOutSize = nLen; > > tr = iconv_open("UCS-2BE", "UTF-8"); >@@ -314,7 +314,7 @@ > > if (ret == (size_t)-1) > gLog.Error("Error encoding to UTF-16.\n"); >- >+ > *szOut = '\0'; > nSize = nLen - nOutSize; > > > > >------------------------------------------------------- >This SF.Net email is sponsored by Yahoo. >Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >Search APIs Find out how you can build Yahoo! directly into your own >Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >_______________________________________________ >Licq-cvs mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/licq-cvs
-- Wbr, Nikita ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel