Browse Source

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

report the name of the audio file which produced the error.
master
kpl 10 years ago
parent
commit
585b54c6d8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmAudioFile.c

+ 1
- 1
cmAudioFile.c View File

708
       ext[i] = toupper(ext[i]);
708
       ext[i] = toupper(ext[i]);
709
 
709
 
710
     if( strcmp(ext,"AIF") && strcmp(ext,"AIFF") )
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
     cmFsFreePathParts(pp);
713
     cmFsFreePathParts(pp);
714
   }
714
   }

Loading…
Cancel
Save