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/file_chooser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/file_chooser.cxx') diff --git a/test/file_chooser.cxx b/test/file_chooser.cxx index 872994e2c..0677d0d30 100644 --- a/test/file_chooser.cxx +++ b/test/file_chooser.cxx @@ -304,8 +304,8 @@ ps_check(const char *name, // I - Name of file sprintf(outname, "%s/.preview.ps", home ? home : ""); if (strcmp(name, outname) != 0) { - in = fopen(name, "rb"); - out = fopen(outname, "wb"); + in = fl_fopen(name, "rb"); + out = fl_fopen(outname, "wb"); page = 0; while (fgets(line, sizeof(line), in) != NULL) { -- cgit v1.2.3