diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-10 17:14:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-21 08:19:53 -0400 |
commit | cd4dde8a3dee8199c545d7f6a5ca9808d9634e7d (patch) | |
tree | 7ac3bfc64761c7c7d43ef507e304e2df663a152e /tests/test-shape.c | |
parent | a4ad59a23a5ab169644bad157a0890c415c5da6c (diff) | |
download | pango-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-shape.c')
-rw-r--r-- | tests/test-shape.c | 1 |
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); |