diff options
Diffstat (limited to 'src/display/sp-canvas.cpp')
| -rw-r--r-- | src/display/sp-canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index 6a38ae3e7..5850cad7a 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -1767,7 +1767,7 @@ bool SPCanvas::paintRect(int xx0, int yy0, int xx1, int yy1) Geom::IntRect paint_rect(xx0, yy0, xx1, yy1); Geom::OptIntRect area = paint_rect & canvas_rect; - if (!area || area->hasZeroArea()) return 0; + if (!area || area->hasZeroArea()) return false; paint_rect = *area; PaintRectSetup setup; |
