diff options
-rw-r--r-- | help/help_mp-en.h | 4 | ||||
-rw-r--r-- | libaf/format.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/help/help_mp-en.h b/help/help_mp-en.h index 208adda3fe..98d7e7adb7 100644 --- a/help/help_mp-en.h +++ b/help/help_mp-en.h @@ -1158,6 +1158,10 @@ static char help_text[]= #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 + +#define MSGTR_AF_FORMAT_UnknownSpecial "Unknown special\n" + // ========================== INPUT ========================================= // joystick.c diff --git a/libaf/format.c b/libaf/format.c index af36dfcf47..1ad5f9e7de 100644 --- a/libaf/format.c +++ b/libaf/format.c @@ -16,6 +16,7 @@ #include <limits.h> #include "af.h" +#include "help_mp.h" // Convert from string to format int af_str2fmt(char* str) @@ -113,7 +114,7 @@ char* af_fmt2str(int format, char* str, int size) case(AF_FORMAT_IMA_ADPCM): i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break; default: - printf("Unknown special\n"); + af_msg(AF_MSG_ERROR,MSGTR_AF_FORMAT_UnknownSpecial); } } else{ |