cmAudioFile.c: Fixed bug in cmAudioFileCreate() where error msg did not

report the name of the audio file which produced the error.
This commit is contained in:
kpl 2013-10-16 13:14:18 -07:00
parent 28d686922b
commit 585b54c6d8

View File

@ -708,7 +708,7 @@ cmRC_t cmAudioFileCreate( cmAudioFileH_t h, const cmChar_t* fn, double srat
ext[i] = toupper(ext[i]);
if( strcmp(ext,"AIF") && strcmp(ext,"AIFF") )
cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'.");
cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'.",cmStringNullGuard(fn));
cmFsFreePathParts(pp);
}