Skip to content
Permalink
Browse files
fix QgsRectangle::include
  • Loading branch information
vcloarec authored and nyalldawson committed Sep 14, 2021
1 parent 91cdf3a commit 0937c4995df2c96a29453ffe6d5dbe2603a9bd43
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsrectangle.h
@@ -287,7 +287,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 0937c49

Please sign in to comment.