Fix typo found by dsa-t.

(cherry picked from commit 7e97dc6974)
This commit is contained in:
Jeff Young 2022-09-20 10:49:43 +01:00
parent 549dca1a05
commit 9f151025b3
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,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 );