From e45cdf7b0e1b1b9ef41df8ce91fe65e3f944ea61 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 3 Aug 2020 04:31:22 +0000 Subject: [PATCH] render-test: Initialize i18n to make tests pass on mingw. On mingw, filename recoding requires i18n to be initialized. --- tests/output/render-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 19bb0ccfab..b9ddd3e7f9 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -25,6 +25,7 @@ #include "data/file-handle-def.h" #include "libpspp/assertion.h" #include "libpspp/compiler.h" +#include "libpspp/i18n.h" #include "libpspp/string-map.h" #include "output/ascii.h" #include "output/driver.h" @@ -76,6 +77,7 @@ main (int argc, char **argv) FILE *input; set_program_name (argv[0]); + i18n_init (); output_engine_push (); input_file_name = parse_options (argc, argv); -- 2.30.2