Fix cut&paste error: LC_COLLATE should be LC_TIME
This commit is contained in:
parent
685c99c94e
commit
93a197827a
@ -169,9 +169,9 @@ loadlocale(category)
|
||||
if (category == LC_TIME) {
|
||||
if (__time_load_locale(new_categories[LC_TIME]) < 0)
|
||||
return (NULL);
|
||||
strcpy(current_categories[LC_COLLATE],
|
||||
new_categories[LC_COLLATE]);
|
||||
return (current_categories[LC_COLLATE]);
|
||||
(void)strcpy(current_categories[LC_TIME],
|
||||
new_categories[LC_TIME]);
|
||||
return (current_categories[LC_TIME]);
|
||||
}
|
||||
|
||||
if (!strcmp(new_categories[category], "C") ||
|
||||
|
Loading…
Reference in New Issue
Block a user