diff options
| author | Manolo Gouy <Manolo> | 2013-10-23 09:24:30 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2013-10-23 09:24:30 +0000 |
| commit | 49e2f6e9db366b6a880679d649a3ebb7b6c9dc53 (patch) | |
| tree | 16f6ac51425e24c6dec7c66e1f97ea1754853c53 /src/Fl_PostScript.cxx | |
| parent | fb38d1cfda00a3bb865328f646b08935ba5699ac (diff) | |
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
Diffstat (limited to 'src/Fl_PostScript.cxx')
| -rw-r--r-- | src/Fl_PostScript.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
