changeset 17876:4645b9f89237

Fix up libaf unknown-format printing
author corey
date Wed, 15 Mar 2006 21:32:10 +0000
parents 3bf109509189
children 16cf7bfd99d9
files help/help_mp-en.h libaf/format.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/help/help_mp-en.h	Wed Mar 15 21:13:13 2006 +0000
+++ b/help/help_mp-en.h	Wed Mar 15 21:32:10 2006 +0000
@@ -1158,9 +1158,9 @@
 #define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n"
 #define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n"
 
-// af_format.c
+// format.c
 
-#define MSGTR_AF_FORMAT_UnknownSpecial "Unknown special\n"
+#define MSGTR_AF_FORMAT_UnknownFormat "unknown-format "
 
 // ========================== INPUT =========================================
 
--- a/libaf/format.c	Wed Mar 15 21:13:13 2006 +0000
+++ b/libaf/format.c	Wed Mar 15 21:32:10 2006 +0000
@@ -114,7 +114,7 @@
     case(AF_FORMAT_IMA_ADPCM): 
       i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break;
     default:
-      af_msg(AF_MSG_ERROR,MSGTR_AF_FORMAT_UnknownSpecial); 
+      i+=snprintf(&str[i],size-i,MSGTR_AF_FORMAT_UnknownFormat); 
     }
   }
   else{