diff options
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 1fbdf4835..bb53bd693 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -457,8 +457,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); +		rc.left = std::round(rc.left); +		rc.right = std::round(rc.right);  		cairo_rectangle(context, rc.left, rc.top,  	                     rc.right - rc.left, rc.bottom - rc.top);  		cairo_fill(context);  | 
