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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user