diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-02-13 23:32:48 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-02-13 23:32:48 +0000 |
commit | d6a3432e1179fe399b6e4c45bcb1efc3de62fa14 (patch) | |
tree | f9340425e4dd292841c5357562224e4e3b59a5cb /lib/libc/locale/nl_langinfo.c | |
parent | 888620f24eb7793cdc92399329a825bf37773eaf (diff) | |
download | src-d6a3432e1179fe399b6e4c45bcb1efc3de62fa14.tar.gz src-d6a3432e1179fe399b6e4c45bcb1efc3de62fa14.zip |
Return {YES,NO}STR from locale
Approved by: phantom
Notes
Notes:
svn path=/head/; revision=72469
Diffstat (limited to 'lib/libc/locale/nl_langinfo.c')
-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 f94736d4d5f3..65eada3396fd 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 */ |