diff --git a/x11/pdcx11.c b/x11/pdcx11.c index 4d094c7d..8b5c36bb 100644 --- a/x11/pdcx11.c +++ b/x11/pdcx11.c @@ -15,7 +15,7 @@ #include -RCSID("$Id: pdcx11.c,v 1.89 2006/11/27 04:23:26 wmcbrine Exp $"); +RCSID("$Id: pdcx11.c,v 1.90 2006/12/01 07:56:03 wmcbrine Exp $"); /*** Functions that are called by both processes ***/ @@ -238,22 +238,6 @@ int XCursesInitscr(int argc, char *argv[]) XC_LOG(("XCursesInitscr() - called\n")); -#if defined FOREIGN - if (!setlocale(LC_ALL, "")) - { - fprintf(stderr, "ERROR: cannot set locale\n"); - return ERR; - } - - if (!XSupportsLocale()) - { - fprintf(stderr, "ERROR: X does not support locale\n"); - return ERR; - } - - if (!XSetLocaleModifiers("")) - fprintf(stderr, "WARNING: Cannot set locale modifiers\n"); -#endif shmkeySP = getpid(); if (socketpair(AF_UNIX, SOCK_STREAM, 0, xc_display_sockets) < 0) diff --git a/x11/pdcx11.h b/x11/pdcx11.h index 193d5661..ae2ae4dd 100644 --- a/x11/pdcx11.h +++ b/x11/pdcx11.h @@ -11,7 +11,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: pdcx11.h,v 1.55 2006/11/27 04:23:26 wmcbrine Exp $ */ +/* $Id: pdcx11.h,v 1.56 2006/12/01 07:56:03 wmcbrine Exp $ */ #ifdef HAVE_CONFIG_H # include @@ -72,9 +72,6 @@ #include #include -#if defined FOREIGN -# include -#endif #include diff --git a/x11/x11.c b/x11/x11.c index 3c82a2a0..8dead321 100644 --- a/x11/x11.c +++ b/x11/x11.c @@ -25,10 +25,14 @@ # include #endif +#if defined FOREIGN +# include +#endif + #include #include -RCSID("$Id: x11.c,v 1.56 2006/12/01 02:20:27 wmcbrine Exp $"); +RCSID("$Id: x11.c,v 1.57 2006/12/01 07:56:03 wmcbrine Exp $"); #ifndef XPOINTER_TYPEDEFED typedef char * XPointer;