summaryrefslogtreecommitdiff
path: root/tests/test-shape.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-10 18:50:07 -0400
commit5d8694fd3085ce6d870d49f96f9cdd07de151f8e (patch)
tree45c021b519e4281f7e814fa0bad2b30879043fbf /tests/test-shape.c
parent6a28e306a4b4a779aa62f0eab4e2f1c70241345c (diff)
downloadpango-5d8694fd3085ce6d870d49f96f9cdd07de151f8e.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-shape.c')
-rw-r--r--tests/test-shape.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test-shape.c b/tests/test-shape.c
index be3e4415..a04291e4 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -337,7 +337,6 @@ main (int argc, char *argv[])
const gchar *name;
gchar *path;
- g_setenv ("LC_ALL", "en_US.UTF-8", TRUE);
setlocale (LC_ALL, "");
g_test_init (&argc, &argv, NULL);