diff options
| -rw-r--r-- | gtk/PlatGTK.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index db28cae8b..e56847483 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -665,6 +665,8 @@ void SurfaceImpl::RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired  void SurfaceImpl::FillRectangle(PRectangle rc, ColourDesired back) {  	PenColour(back);  	if (context && (rc.left < maxCoordinate)) {	// Protect against out of range +		rc.left = lround(rc.left); +		rc.right = lround(rc.right);  		cairo_rectangle(context, rc.left, rc.top,  	                     rc.right - rc.left, rc.bottom - rc.top);  		cairo_fill(context);  | 
