bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones

r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2006-02-03 14:18:39 +00:00
parent aec0aae014
commit 6322c04952
462 changed files with 1529 additions and 1542 deletions

View File

@@ -655,7 +655,7 @@ GenerateType3Msg(const nsString &domain,
if (unicode)
{
// hostname is ASCII, so we can do a simple zero-pad expansion:
CopyASCIItoUCS2(nsDependentCString(hostBuf, hostLen), ucsHostBuf);
CopyASCIItoUTF16(nsDependentCString(hostBuf, hostLen), ucsHostBuf);
hostPtr = ucsHostBuf.get();
hostLen = ucsHostBuf.Length() * 2;
#ifdef IS_BIG_ENDIAN