From 04a5098a58bf6456252d09ee9406ff519cca6ddc Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 15 Dec 2023 13:04:57 +0100 Subject: #840: Generously adds Fl::args_to_utf8() for MinGW support. --- fltk-options/fltk-options.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'fltk-options') diff --git a/fltk-options/fltk-options.cxx b/fltk-options/fltk-options.cxx index 0e68a5b13..b10277c1e 100644 --- a/fltk-options/fltk-options.cxx +++ b/fltk-options/fltk-options.cxx @@ -676,6 +676,7 @@ int main(int argc,char **argv) { check_write_permissions(g_system_write_ok, g_user_write_ok); int i = 1; + Fl::args_to_utf8(argc, argv); // for MSYS2/MinGW int args_processed = Fl::args(argc, argv, i, read_command_line_args); if (args_processed < argc) { fprintf(stderr, "ERROR: Unrecognized command line option \"%s\".\n", argv[i]); -- cgit v1.2.3