diff options
author | ache <ache@FreeBSD.org> | 2001-02-13 23:32:48 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-02-13 23:32:48 +0000 |
commit | c5730e0f45c6cafaed45d4ef6adf53f2ba6441a5 (patch) | |
tree | e15ca149d128280b86ddf46632e4be83f8906b77 /lib | |
parent | 7e987d1dffccf9f5e300add01ae8314cf34165a1 (diff) | |
download | FreeBSD-src-c5730e0f45c6cafaed45d4ef6adf53f2ba6441a5.zip FreeBSD-src-c5730e0f45c6cafaed45d4ef6adf53f2ba6441a5.tar.gz |
Return {YES,NO}STR from locale
Approved by: phantom
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/locale/nl_langinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c index f94736d..65eada3 100644 --- a/lib/libc/locale/nl_langinfo.c +++ b/lib/libc/locale/nl_langinfo.c @@ -121,10 +121,10 @@ nl_langinfo(nl_item item) { ret = (char*) __get_current_messages_locale()->noexpr; break; case YESSTR: /* deprecated */ - ret = ""; + ret = (char*) __get_current_messages_locale()->yesstr; break; case NOSTR: /* deprecated */ - ret = ""; + ret = (char*) __get_current_messages_locale()->nostr; break; case CRNCYSTR: /* deprecated */ /* XXX: need to be implemented */ |