Return {YES,NO}STR from locale

Approved by:	phantom
This commit is contained in:
ache 2001-02-13 23:32:48 +00:00
parent 7e987d1dff
commit c5730e0f45

View File

@ -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 */