Skip to content
Permalink
Browse files
fix QgsRectangle::include
  • Loading branch information
vcloarec authored and nyalldawson committed Sep 14, 2021
1 parent da54495 commit d9f9f9e9425f370d06ee4199b9f5a7900e4b9802
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsrectangle.h
@@ -308,7 +308,7 @@ class CORE_EXPORT QgsRectangle
{
if ( p.x() < xMinimum() )
setXMinimum( p.x() );
else if ( p.x() > xMaximum() )
if ( p.x() > xMaximum() )
setXMaximum( p.x() );
if ( p.y() < yMinimum() )
setYMinimum( p.y() );

0 comments on commit d9f9f9e

Please sign in to comment.