mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
fix unix bustage
This commit is contained in:
parent
7bf8b60881
commit
32f29bdd6f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user