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. --- fluid/fluid.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'fluid') 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 -- cgit v1.2.3