From 5d8694fd3085ce6d870d49f96f9cdd07de151f8e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 10 Jul 2021 17:14:39 -0400 Subject: tests: Locale handling fixes The return value of setlocale is only good until the next call. Also, consistently use en_US.UTF-8. --- tests/test-font.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/test-font.c') diff --git a/tests/test-font.c b/tests/test-font.c index 3c5f3070..f291cec8 100644 --- a/tests/test-font.c +++ b/tests/test-font.c @@ -463,7 +463,6 @@ test_match (void) int main (int argc, char *argv[]) { - g_setenv ("LC_ALL", "C", TRUE); setlocale (LC_ALL, ""); g_test_init (&argc, &argv, NULL); -- cgit v1.2.1