summaryrefslogtreecommitdiff
path: root/test/help_dialog.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-12-15 13:04:57 +0100
committerMatthias Melcher <github@matthiasm.com>2023-12-15 13:04:57 +0100
commit04a5098a58bf6456252d09ee9406ff519cca6ddc (patch)
tree12da92b742d96654d249718a40633eab51e9a442 /test/help_dialog.cxx
parentfdf578d936abacafe2bfb8d08255a5093b1f1ea3 (diff)
#840: Generously adds Fl::args_to_utf8() for MinGW support.
Diffstat (limited to 'test/help_dialog.cxx')
-rw-r--r--test/help_dialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/help_dialog.cxx b/test/help_dialog.cxx
index e87c5e922..e7334e8b2 100644
--- a/test/help_dialog.cxx
+++ b/test/help_dialog.cxx
@@ -47,6 +47,7 @@ main(int argc, // I - Number of command-line arguments
Fl_GIF_Image::animate = true; // create animated shared .GIF images
Fl_Help_Dialog *help = new Fl_Help_Dialog;
int i;
+ Fl::args_to_utf8(argc, argv); // for MSYS2/MinGW
if (!Fl::args(argc, argv, i)) Fl::fatal(Fl::help);
const char *fname = (i < argc) ? argv[i] : "help_dialog.html";