From 1e77c19688a76f96813d76b68323a6030aed8230 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 18 Nov 2010 20:00:01 +0000 Subject: Fixed file access code to use UTF-8 strings (STR #2440) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/colbrowser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/colbrowser.cxx') diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx index 53018eb2e..a1ecd373c 100644 --- a/test/colbrowser.cxx +++ b/test/colbrowser.cxx @@ -149,9 +149,9 @@ load_browser(char *fname) int r, g, b, lr = -1 , lg = -1, lb = -1; char name[256], buf[256]; #ifdef __EMX__ - if (!(fp = fopen(__XOS2RedirRoot(fname), "r"))) + if (!(fp = fl_fopen(__XOS2RedirRoot(fname), "r"))) #else - if (!(fp = fopen(fname, "r"))) + if (!(fp = fl_fopen(fname, "r"))) #endif { fl_alert("%s\n%s\n%s","Load", fname, "Can't open"); -- cgit v1.2.3