OSDN Git Service

Fix a stupid bug.
authorManuel Novoa III <mjn3@codepoet.org>
Fri, 1 Nov 2002 22:56:45 +0000 (22:56 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Fri, 1 Nov 2002 22:56:45 +0000 (22:56 -0000)
libc/misc/locale/locale.c

index 801258c..0ff359d 100644 (file)
@@ -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 {