* commit 'd62196cfeffe5e4d725b5388fca57a18c154a44b': Remove bogus 2 char limit for locales and countries.
This commit is contained in:
@@ -391,8 +391,8 @@ static void readLocale(char* language, char* region)
|
||||
property_get("ro.product.locale.language", propLang, "en");
|
||||
property_get("ro.product.locale.region", propRegn, "US");
|
||||
}
|
||||
strncat(language, propLang, 2);
|
||||
strncat(region, propRegn, 2);
|
||||
strncat(language, propLang, 3);
|
||||
strncat(region, propRegn, 3);
|
||||
//ALOGD("language=%s region=%s\n", language, region);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user