From 839693391b6b15b7f3ce521d12d620712cd72d0e Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Tue, 30 May 2017 13:30:01 +0200 Subject: [PATCH] theme-parser.test: Run in locale C, as we test error strings Signed-off-by: Quentin Glidic --- test/theme-parser-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index 1b6d7f06..cd7fc683 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -1259,7 +1259,7 @@ int main ( int argc, char ** argv ) { cmd_set_arguments ( argc, argv ); - if ( setlocale ( LC_ALL, "" ) == NULL ) { + if ( setlocale ( LC_ALL, "C" ) == NULL ) { fprintf ( stderr, "Failed to set locale.\n" ); return EXIT_FAILURE; }