# HG changeset patch # User corey # Date 1142458330 0 # Node ID 4645b9f89237c4d095d215dbd7673e9dd307ba99 # Parent 3bf1095091893b3a1e79a66ae1f8619aefb11bdc Fix up libaf unknown-format printing diff -r 3bf109509189 -r 4645b9f89237 help/help_mp-en.h --- 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 ========================================= diff -r 3bf109509189 -r 4645b9f89237 libaf/format.c --- 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{