summaryrefslogtreecommitdiff
path: root/tests/test-font.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-10 17:14:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-21 08:19:53 -0400
commitcd4dde8a3dee8199c545d7f6a5ca9808d9634e7d (patch)
tree7ac3bfc64761c7c7d43ef507e304e2df663a152e /tests/test-font.c
parenta4ad59a23a5ab169644bad157a0890c415c5da6c (diff)
downloadpango-cd4dde8a3dee8199c545d7f6a5ca9808d9634e7d.tar.gz
tests: Locale handling fixes
The return value of setlocale is only good until the next call. Also, consistently use en_US.UTF-8.
Diffstat (limited to 'tests/test-font.c')
-rw-r--r--tests/test-font.c1
1 files changed, 0 insertions, 1 deletions
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);