Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
@@ -226,9 +226,9 @@ void StepsDisplay::SetInternal( const SetParams ¶ms )
|
||||
char off = '0';
|
||||
|
||||
RString sNewText;
|
||||
int iNumOn = min( (int)m_iMaxTicks, params.iMeter );
|
||||
int iNumOn = std::min( (int) m_iMaxTicks, params.iMeter );
|
||||
sNewText.insert( sNewText.end(), iNumOn, on );
|
||||
int iNumOff = max( 0, m_iNumTicks-iNumOn );
|
||||
int iNumOff = std::max( 0, m_iNumTicks-iNumOn );
|
||||
sNewText.insert( sNewText.end(), iNumOff, off );
|
||||
m_textTicks.SetText( sNewText );
|
||||
m_textTicks.HandleMessage( msg );
|
||||
|
||||
Reference in New Issue
Block a user