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-font.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-font.c')
-rw-r--r-- | tests/test-font.c | 1 |
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); |