From f9d08b172a7a06eeebc018c90e13f5221d9bde16 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 1 Nov 2002 22:56:45 +0000 Subject: Fix a stupid bug. --- libc/misc/locale/locale.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/misc') 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 { -- cgit v1.2.3