summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pixmap_browser.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx
index dca13316e..9478540cd 100644
--- a/test/pixmap_browser.cxx
+++ b/test/pixmap_browser.cxx
@@ -1,7 +1,7 @@
//
// A shared image test program for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2022 by Bill Spitzak and others.
+// Copyright 1998-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -143,7 +143,8 @@ int main(int argc, char **argv) {
setlocale(LC_ALL, ""); // enable multilanguage errors in file chooser
fl_register_images();
- Fl::args(argc,argv,i,arg);
+ Fl::args_to_utf8(argc, argv); // enable multilanguage commandlines on Windows
+ Fl::args(argc, argv, i, arg); // parse commandline
if (animate)
Fl_GIF_Image::animate = true; // create animated shared .GIF images (e.g. file chooser)