@@ -5989,7 +5989,7 @@ LRESULT CMenuContainer::OnKeyDown( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL
5989
5989
ytop-=m_ScrollOffset;
5990
5990
ybottom-=m_ScrollOffset;
5991
5991
}
5992
- int d=min (abs (ytop-y0 ),abs (ybottom-y0 ));
5992
+ int d=std:: min (abs (ytop-y0 ),abs (ybottom-y0 ));
5993
5993
if (dist>d)
5994
5994
{
5995
5995
index =i;
@@ -6056,7 +6056,7 @@ LRESULT CMenuContainer::OnKeyDown( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL
6056
6056
ytop-=m_ScrollOffset;
6057
6057
ybottom-=m_ScrollOffset;
6058
6058
}
6059
- int d=min (abs (ytop-y0 ),abs (ybottom-y0 ));
6059
+ int d= std:: min (abs (ytop-y0 ),abs (ybottom-y0 ));
6060
6060
if (dist>d)
6061
6061
{
6062
6062
index =i;
@@ -7517,16 +7517,16 @@ POINT CMenuContainer::CalculateCorner( void )
7517
7517
7518
7518
POINT corner;
7519
7519
if (m_Options&CONTAINER_LEFT)
7520
- corner.x =max (s_MainMenuLimits.left ,s_StartRect.left )+margin.left ;
7520
+ corner.x = std:: max (s_MainMenuLimits.left ,s_StartRect.left )+margin.left ;
7521
7521
else
7522
- corner.x =min (s_MainMenuLimits.right ,s_StartRect.right )+margin.right ;
7522
+ corner.x = std:: min (s_MainMenuLimits.right ,s_StartRect.right )+margin.right ;
7523
7523
7524
7524
if (m_Options&CONTAINER_TOP)
7525
7525
{
7526
7526
if (s_bBehindTaskbar)
7527
- corner.y =max (s_MainMenuLimits.top ,s_StartRect.top )+margin.top ;
7527
+ corner.y = std:: max (s_MainMenuLimits.top ,s_StartRect.top )+margin.top ;
7528
7528
else
7529
- corner.y =max (s_MainMenuLimits.top ,s_StartRect.top );
7529
+ corner.y = std:: max (s_MainMenuLimits.top ,s_StartRect.top );
7530
7530
}
7531
7531
else
7532
7532
corner.y =s_MainMenuLimits.bottom +margin.bottom ;
0 commit comments