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:
@@ -60,7 +60,7 @@ static void _PanicErrorWrite(const char *msg)
|
||||
{
|
||||
nsCOMPtr<nsIConsoleService> consoleService = do_GetService(NS_CONSOLESERVICE_CONTRACTID);
|
||||
if (consoleService)
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUCS2(msg).get());
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUTF16(msg).get());
|
||||
PR_fprintf(PR_STDERR,"%s\n", msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user