Explorar o código

Fix a stupid bug.

Manuel Novoa III %!s(int64=23) %!d(string=hai) anos
pai
achega
f9d08b172a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {