ソースを参照

Fix a stupid bug.

Manuel Novoa III 23 年 前
コミット
f9d08b172a
1 ファイル変更1 行追加0 行削除
  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 {