diff options
| -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 8ff1b619d..5c3f81461 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -1577,7 +1577,7 @@ int Fl_PostScript_Printer::start_job(int pages, int *firstpage, int *lastpage) { if (to < from) to = from; if (firstpage) *firstpage = from; if (lastpage) *lastpage = to; - pages = to - from + 1; + if (pages > 0) pages = to - from + 1; } if (print_output_mode[0]->value()) layout = Fl_Paged_Device::PORTRAIT; |
