mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Bug 455738 - Add support for new Vista locales; Define LOCALE_NAME_MAX_LENGTH; r=smontagu
This commit is contained in:
parent
268bc39709
commit
60de8bee79
@ -680,6 +680,10 @@ nsIWin32LocaleImpl::GetPlatformLocale(const nsAString& locale,LCID* winLCID)
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
#ifndef LOCALE_NAME_MAX_LENGTH
|
||||
#define LOCALE_NAME_MAX_LENGTH 85
|
||||
#endif
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIWin32LocaleImpl::GetXPLocale(LCID winLCID, nsAString& locale)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user