From 49e2f6e9db366b6a880679d649a3ebb7b6c9dc53 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 23 Oct 2013 09:24:30 +0000 Subject: Replaced one fopen() call by fl_fopen() to work correctly under MSWindows with non ASCII filenames. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_PostScript.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index 968fe9535..f9120b9ff 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -94,7 +94,7 @@ int Fl_PostScript_File_Device::start_job (int pagecount, enum Fl_Paged_Device::P // Show native chooser if ( fnfc.show() ) return 1; Fl_PostScript_Graphics_Driver *ps = driver(); - ps->output = fopen(fnfc.filename(), "w"); + ps->output = fl_fopen(fnfc.filename(), "w"); if(ps->output == NULL) return 2; ps->ps_filename_ = strdup(fnfc.filename()); ps->start_postscript(pagecount, format, layout); -- cgit v1.2.3