Browse Source

fix nl_langinfo table for LC_TIME era-related items

due to a skipped slot and missing null terminator, the last few
strings were off by one or two slots from their item codes.
master
Rich Felker 12 years ago
parent
commit
a19cd2b64a
  1. 3
      src/locale/langinfo.c

3
src/locale/langinfo.c

@ -18,8 +18,9 @@ static const char c_time[] =
"%H:%M:%S\0"
"%I:%M:%S %p\0"
"\0"
"\0"
"%m/%d/%y\0"
"0123456789"
"0123456789\0"
"%a %b %e %T %Y\0"
"%H:%M:%S";

Loading…
Cancel
Save