diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_PS_Printer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_PS_Printer.cxx b/src/Fl_PS_Printer.cxx index d981ee2c9..cdc3545a4 100644 --- a/src/Fl_PS_Printer.cxx +++ b/src/Fl_PS_Printer.cxx @@ -1204,9 +1204,10 @@ int Fl_PSfile_Device::start_job (int pagecount, enum Page_Format format, enum Pa // Show native chooser if ( fnfc.show() ) return 1; output = fopen(fnfc.filename(), "w"); - if(output == NULL) return 1; + if(output == NULL) return 2; ps_filename_ = strdup(fnfc.filename()); - return start_postscript(pagecount, format, layout); + start_postscript(pagecount, format, layout); + return 0; } int Fl_PSfile_Device::start_job (const char *fname, int pagecount, enum Page_Format format, enum Page_Layout layout) |
