mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user