fix warning output

This commit is contained in:
Glenn Maynard
2004-08-26 04:36:35 +00:00
parent 8dfbd14434
commit e76553c9cc
+1 -1
View File
@@ -76,7 +76,7 @@ void DSound::SetPrimaryBufferMode()
if( FAILED(hr) )
LOG->Warn( hr_ssprintf(hr, "GetFormat on primary buffer") );
else if( waveformat.nSamplesPerSec != 44100 )
LOG->Warn( hr_ssprintf(hr, "Primary buffer set to %i instead of 44100", waveformat.nSamplesPerSec) );
LOG->Warn( "Primary buffer set to %i instead of 44100", waveformat.nSamplesPerSec );
/* MS docs:
*