X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fwidechar%2Flib_wacs.c;h=c956cfdba7e75ba64bab0dd0f1afb06a1961a8e1;hp=4f8a3f6e4421f3d24c42fb6745ad6ed4f6d0e2c0;hb=refs%2Ftags%2Fv5.4;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/ncurses/widechar/lib_wacs.c b/ncurses/widechar/lib_wacs.c index 4f8a3f6e..c956cfdb 100644 --- a/ncurses/widechar/lib_wacs.c +++ b/ncurses/widechar/lib_wacs.c @@ -33,23 +33,10 @@ #include #include -MODULE_ID("$Id: lib_wacs.c,v 1.5 2002/08/31 19:44:17 tom Exp $") +MODULE_ID("$Id: lib_wacs.c,v 1.6 2002/12/21 12:30:19 tom Exp $") NCURSES_EXPORT_VAR(cchar_t) * _nc_wacs = 0; -static int -_nc_unicode_locale(void) -{ - char *s; - if (((s = getenv("LC_ALL")) != 0 && *s != '\0') - || ((s = getenv("LC_ALL")) != 0 && *s != '\0') - || ((s = getenv("LC_ALL")) != 0 && *s != '\0')) { - if (strstr(s, ".UTF-8") != 0) - return 1; - } - return 0; -} - NCURSES_EXPORT(void) _nc_init_wacs(void) {