From 2ae5db7fce614c4cee7a02322fee867c17b36c6d Mon Sep 17 00:00:00 2001 From: Sergey Udaltsov Date: Sat, 4 Feb 2006 00:07:16 +0000 Subject: setlocale added, just to show in debug --- tests/test_config.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_config.c b/tests/test_config.c index 6d062d0..9cc17be 100644 --- a/tests/test_config.c +++ b/tests/test_config.c @@ -8,6 +8,10 @@ #include #include +#ifdef HAVE_SETLOCALE +# include +#endif + #ifdef __STRICT_ANSI__ /* these are functions which are NOT in ANSI C. Probably we should provide the implementation */ @@ -87,6 +91,10 @@ int main( int argc, char * const argv[] ) exit( 0 ); } +#ifdef HAVE_SETLOCALE + setlocale( LC_ALL, "" ); +#endif + dpy = XOpenDisplay( NULL ); if ( dpy == NULL ) { -- cgit v1.2.1