Browse Source

Fix typo found by dsa-t.

7.0
Jeff Young 3 years ago
parent
commit
7e97dc6974
  1. 2
      libs/kimath/include/math/box2.h

2
libs/kimath/include/math/box2.h

@ -281,7 +281,7 @@ public:
// calculate the right common area coordinate:
int right = std::min( me.m_Pos.x + me.m_Size.x, rect.m_Pos.x + rect.m_Size.x );
// calculate the upper common area coordinate:
int top = std::max( me.m_Pos.y, aRect.m_Pos.y );
int top = std::max( me.m_Pos.y, rect.m_Pos.y );
// calculate the lower common area coordinate:
int bottom = std::min( me.m_Pos.y + me.m_Size.y, rect.m_Pos.y + rect.m_Size.y );

Loading…
Cancel
Save