summaryrefslogtreecommitdiff
path: root/test/colbrowser.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/colbrowser.cxx
parentfdf578d936abacafe2bfb8d08255a5093b1f1ea3 (diff)
#840: Generously adds Fl::args_to_utf8() for MinGW support.
Diffstat (limited to 'test/colbrowser.cxx')
-rw-r--r--test/colbrowser.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx
index cbd760eb7..cab058361 100644
--- a/test/colbrowser.cxx
+++ b/test/colbrowser.cxx
@@ -56,6 +56,7 @@ static RGBdb rgbdb[MAX_RGB];
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 *dbname = (i < argc) ? argv[i] : "rgb.txt";