Another small change from my GSoC work: get rid of some old printf code in language.c and replace it with DEBUGF.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20168 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tom Ross 2009-03-02 04:48:53 +00:00
parent 7125b9ebcb
commit aaf3f5fd01

View file

@ -20,9 +20,6 @@
****************************************************************************/
#include <file.h>
#if defined(SIMULATOR) && defined(__MINGW32__)
extern int printf(const char *format, ...);
#endif
#include "language.h"
#include "lang.h"
@ -76,8 +73,8 @@ int lang_load(const char *filename)
ptr+=2; /* pass the id */
if(id < LANG_LAST_INDEX_IN_ARRAY) {
#if 0
printf("%2x New: %30s ", id, ptr);
printf("Replaces: %s\n", language_strings[id]);
DEBUGF("%2x New: %30s ", id, ptr);
DEBUGF("Replaces: %s\n", language_strings[id]);
#endif
language_strings[id] = ptr; /* point to this string */
}