Fix typo found by dsa-t.

This commit is contained in:
Jeff Young 2022-09-20 10:49:43 +01:00
parent 2bf6791352
commit 7e97dc6974
1 changed files with 1 additions and 1 deletions

View File

@ -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 );