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
This commit is contained in:
Manolo Gouy
2013-10-23 09:24:30 +00:00
parent fb38d1cfda
commit 49e2f6e9db
+1 -1
View File
@@ -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);