summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-18 20:00:01 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-18 20:00:01 +0000
commit1e77c19688a76f96813d76b68323a6030aed8230 (patch)
treed0c9c7b2099059a5846ce49a61dec3fcb524e764 /fluid/Fl_Function_Type.cxx
parent983a0d8ce4f835c5714052171307ca29c402b015 (diff)
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
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
-rw-r--r--fluid/Fl_Function_Type.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx
index e1749f596..614f783b8 100644
--- a/fluid/Fl_Function_Type.cxx
+++ b/fluid/Fl_Function_Type.cxx
@@ -879,7 +879,7 @@ void Fl_Data_Type::write_code1() {
int nData = -1;
// path should be set correctly already
if (filename_ && !write_sourceview) {
- FILE *f = fopen(filename_, "rb");
+ FILE *f = fl_fopen(filename_, "rb");
if (!f) {
message = "Can't include binary file. Can't open";
} else {