diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-12-15 13:04:57 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-12-15 13:04:57 +0100 |
| commit | 04a5098a58bf6456252d09ee9406ff519cca6ddc (patch) | |
| tree | 12da92b742d96654d249718a40633eab51e9a442 /fltk-options | |
| parent | fdf578d936abacafe2bfb8d08255a5093b1f1ea3 (diff) | |
#840: Generously adds Fl::args_to_utf8() for MinGW support.
Diffstat (limited to 'fltk-options')
| -rw-r--r-- | fltk-options/fltk-options.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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]); |
