fix unix bustage

This commit is contained in:
alecf%netscape.com 2002-06-23 17:04:46 +00:00
parent 7bf8b60881
commit 32f29bdd6f

View File

@ -228,11 +228,11 @@ nsPlatformCharset::InitGetCharset(nsAString &oString)
nsAutoLock guard(gLock);
if (!gNLInfo) {
nsAutoString propertyURL;
nsCAutoString propertyURL;
// note: NS_LITERAL_STRING("resource:/res/unixcharset." OSARCH ".properties") does not compile on AIX
propertyURL.Assign(NS_LITERAL_STRING("resource:/res/unixcharset."));
propertyURL.AppendWithConversion(OSARCH);
propertyURL.Append(NS_LITERAL_STRING(".properties"));
propertyURL.Assign(NS_LITERAL_CSTRING("resource:/res/unixcharset."));
propertyURL.Append(OSARCH);
propertyURL.Append(NS_LITERAL_CSTRING(".properties"));
nsURLProperties *info;
info = new nsURLProperties( propertyURL );
NS_ASSERTION( info, "cannot create nsURLProperties");
@ -398,7 +398,7 @@ nsPlatformCharset::MapToCharset(short script, short region, nsAString& outCharse
}
nsresult
nsPlatformCharset::MapToCharset(nsString& inANSICodePage, nsAString& outCharset)
nsPlatformCharset::MapToCharset(nsAString& inANSICodePage, nsAString& outCharset)
{
return NS_OK;
}