Browse Source

Don't pass plFileName to varargs

Adam Johnson 12 years ago
parent
commit
4ae5f5a377
  1. 2
      Sources/Plasma/PubUtilLib/plAudio/plWin32StreamingSound.cpp

2
Sources/Plasma/PubUtilLib/plAudio/plWin32StreamingSound.cpp

@ -347,7 +347,7 @@ bool plWin32StreamingSound::LoadSound( bool is3D )
// Debug info // Debug info
char str[ 256 ]; char str[ 256 ];
sprintf( str, " Streaming %s.", fSrcFilename); snprintf( str, arrsize(str), " Streaming %s.", fSrcFilename.AsString().c_str() );
IPrintDbgMessage( str ); IPrintDbgMessage( str );
plStatusLog::AddLineS( "audioTimes.log", 0xffffffff, "Streaming %4.2f secs of %s", plStatusLog::AddLineS( "audioTimes.log", 0xffffffff, "Streaming %4.2f secs of %s",

Loading…
Cancel
Save