Changed locale string parse code not to set country if the locale string is country+encoding and no country code,

check in for katakai@japan.sun.com, bug 60954, r=nhotta, sr=alecf.
This commit is contained in:
nhotta%netscape.com 2000-12-12 22:21:02 +00:00
Родитель 726b284ef4
Коммит 5702ed2c8c
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -160,9 +160,6 @@ nsPosixLocale::ParseLocaleString(const char* locale_string, char* language, char
language[0]=locale_string[0];
language[1]=locale_string[1];
language[2]='\0';
country[0]=locale_string[3];
country[1]=locale_string[4];
country[2]='\0';
}
else if (7 <= len && '.' == locale_string[5]) {
PL_strcpy(extra, &locale_string[6]);