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 /fluid | |
| parent | fdf578d936abacafe2bfb8d08255a5093b1f1ea3 (diff) | |
#840: Generously adds Fl::args_to_utf8() for MinGW support.
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/fluid.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index e19559f66..1366183cd 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -2171,6 +2171,7 @@ int main(int argc,char **argv) { setlocale(LC_NUMERIC, "C"); // make sure numeric values are written correctly g_launch_path = end_with_slash(fl_getcwd()); // store the current path at launch + Fl::args_to_utf8(argc, argv); // for MSYS2/MinGW if ( (Fl::args(argc,argv,i,arg) == 0) // unsupported argument found || (batch_mode && (i != argc-1)) // .fl filename missing || (!batch_mode && (i < argc-1)) // more than one filename found |
