diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-break.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-break.c b/tests/test-break.c index e020b583..db944fbb 100644 --- a/tests/test-break.c +++ b/tests/test-break.c @@ -309,6 +309,8 @@ main (int argc, char *argv[]) const gchar *name; gchar *path; + g_test_init (&argc, &argv, NULL); + setlocale (LC_ALL, ""); context = pango_font_map_create_context (pango_cairo_font_map_get_default ()); @@ -340,8 +342,6 @@ main (int argc, char *argv[]) return 0; } - g_test_init (&argc, &argv, NULL); - path = g_test_build_filename (G_TEST_DIST, "breaks", NULL); dir = g_dir_open (path, 0, &error); g_free (path); |