diff options
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx index 4366f8827..6e5cad4bb 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx @@ -3,7 +3,7 @@ // // Printing support for Windows for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2018 by Bill Spitzak and others. +// Copyright 2010-2019 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -275,6 +275,9 @@ int Fl_WinAPI_Printer_Driver::end_page (void) fl_alert ("EndPage error %d", prerr); rsult = 1; } + else { // make sure rotation is not transferred to next page + ModifyWorldTransform(hPr, NULL, MWT_IDENTITY); + } } return rsult; } |
