summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-03-02 04:48:53 +0000
committerTom Ross <midgey@rockbox.org>2009-03-02 04:48:53 +0000
commitaaf3f5fd01be05d5e80c9e49512e2af4baf3ccb6 (patch)
tree460b97f23da3ac94014cdb16e6e50518d1861ea0
parent7125b9ebcb80cec6d411c22976df9fdb401caf5f (diff)
downloadrockbox-aaf3f5fd01be05d5e80c9e49512e2af4baf3ccb6.tar.gz
rockbox-aaf3f5fd01be05d5e80c9e49512e2af4baf3ccb6.zip
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
-rw-r--r--apps/language.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/language.c b/apps/language.c
index a714ef7d90..7253ec275b 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -20,9 +20,6 @@
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include <file.h> 22#include <file.h>
23#if defined(SIMULATOR) && defined(__MINGW32__)
24extern int printf(const char *format, ...);
25#endif
26 23
27#include "language.h" 24#include "language.h"
28#include "lang.h" 25#include "lang.h"
@@ -76,8 +73,8 @@ int lang_load(const char *filename)
76 ptr+=2; /* pass the id */ 73 ptr+=2; /* pass the id */
77 if(id < LANG_LAST_INDEX_IN_ARRAY) { 74 if(id < LANG_LAST_INDEX_IN_ARRAY) {
78#if 0 75#if 0
79 printf("%2x New: %30s ", id, ptr); 76 DEBUGF("%2x New: %30s ", id, ptr);
80 printf("Replaces: %s\n", language_strings[id]); 77 DEBUGF("Replaces: %s\n", language_strings[id]);
81#endif 78#endif
82 language_strings[id] = ptr; /* point to this string */ 79 language_strings[id] = ptr; /* point to this string */
83 } 80 }