summaryrefslogtreecommitdiff
path: root/test/browser.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/browser.cxx
parentfdf578d936abacafe2bfb8d08255a5093b1f1ea3 (diff)
#840: Generously adds Fl::args_to_utf8() for MinGW support.
Diffstat (limited to 'test/browser.cxx')
-rw-r--r--test/browser.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/browser.cxx b/test/browser.cxx
index 0df67433b..b876f5f7a 100644
--- a/test/browser.cxx
+++ b/test/browser.cxx
@@ -160,6 +160,7 @@ void wtype_cb(Fl_Widget *, void *) {
int main(int argc, char **argv) {
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] : "browser.cxx";
Fl_Double_Window window(720, 520, fname);