浏览代码

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

report the name of the audio file which produced the error.
master
kpl 11 年前
父节点
当前提交
585b54c6d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      cmAudioFile.c

+ 1
- 1
cmAudioFile.c 查看文件

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

正在加载...
取消
保存