diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-20 12:56:32 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-20 12:56:32 +0100 |
| commit | bcc2f4c575df31561642cf192d33ee69ddfbd5e1 (patch) | |
| tree | 759e4c7a6e52d3a5c1f6d3d480c4042068ab1b61 | |
| parent | fc36bfd88bc16cf2e94b6f7d03016ced99b94350 (diff) | |
Fix Fl_PostScript_Graphics_Driver::clip_box()
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index 5e7f6b4e0..40e6e5584 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -1344,7 +1344,7 @@ void Fl_PostScript_Graphics_Driver::pop_clip() { int Fl_PostScript_Graphics_Driver::clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H) { if (!clip_) { X = x; Y = y; W = w; H = h; - return 1; + return 0; } if (clip_->w < 0) { X = x; Y = y; W = w; H = h; |
