Browse Source

Fix a stupid bug.

Manuel Novoa III 21 years ago
parent
commit
f9d08b172a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/misc/locale/locale.c

+ 1 - 0
libc/misc/locale/locale.c

@@ -110,6 +110,7 @@ static __inline char *human_readable_locale(int category, const unsigned char *s
 
  SKIP:
 	i = (category == LC_ALL) ? 0 : category;
+	s += 2*i;
 	n = hr_locale;
 
 	do {