1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Use wxPrintf not printf

This commit is contained in:
Paul Licameli
2017-10-09 00:37:10 -04:00
parent cd06c04fa0
commit 4d978bcefb
25 changed files with 134 additions and 132 deletions

View File

@@ -1728,14 +1728,14 @@ double Envelope::SolveIntegralOfInverse( double t0, double area ) const
void Envelope::print() const
{
for( unsigned int i = 0; i < mEnv.size(); i++ )
printf( "(%.2f, %.2f)\n", mEnv[i].GetT(), mEnv[i].GetVal() );
wxPrintf( "(%.2f, %.2f)\n", mEnv[i].GetT(), mEnv[i].GetVal() );
}
static void checkResult( int n, double a, double b )
{
if( (a-b > 0 ? a-b : b-a) > 0.0000001 )
{
printf( "Envelope: Result #%d is: %f, should be %f\n", n, a, b );
wxPrintf( "Envelope: Result #%d is: %f, should be %f\n", n, a, b );
//exit( -1 );
}
}