# HG changeset patch # User reynaldo # Date 1142355436 0 # Node ID 8ec63246c11809b0a480a0afb472621e53b4a916 # Parent ecb2023ee4b60a135b3eb86890d2006f04fe6512 last print on libaf to af_msg diff -r ecb2023ee4b6 -r 8ec63246c118 help/help_mp-en.h --- a/help/help_mp-en.h Tue Mar 14 00:45:06 2006 +0000 +++ b/help/help_mp-en.h Tue Mar 14 16:57:16 2006 +0000 @@ -1158,6 +1158,10 @@ #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 -r ecb2023ee4b6 -r 8ec63246c118 libaf/format.c --- a/libaf/format.c Tue Mar 14 00:45:06 2006 +0000 +++ b/libaf/format.c Tue Mar 14 16:57:16 2006 +0000 @@ -16,6 +16,7 @@ #include #include "af.h" +#include "help_mp.h" // Convert from string to format int af_str2fmt(char* str) @@ -113,7 +114,7 @@ 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{