summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-11-01 22:56:45 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-11-01 22:56:45 +0000
commitf9d08b172a7a06eeebc018c90e13f5221d9bde16 (patch)
tree950215f2b03a7e54f0602100a204045b0c412534
parent4d273b9abc6e652db46bcd5a408b0d6990e18992 (diff)
Fix a stupid bug.
-rw-r--r--libc/misc/locale/locale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index 801258c94..0ff359d3d 100644
--- a/libc/misc/locale/locale.c
+++ b/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 {