Skip to content
Permalink
Browse files
fix QgsRectangle::include
  • Loading branch information
vcloarec authored and nyalldawson committed Nov 1, 2021
1 parent 773dcdb commit 788910ef650a4fb03eb426dd4fb0c45aff178712
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 788910e

Please sign in to comment.