mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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:
parent
7125b9ebcb
commit
aaf3f5fd01
1 changed files with 2 additions and 5 deletions
|
@ -20,9 +20,6 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <file.h>
|
#include <file.h>
|
||||||
#if defined(SIMULATOR) && defined(__MINGW32__)
|
|
||||||
extern int printf(const char *format, ...);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
|
@ -76,8 +73,8 @@ int lang_load(const char *filename)
|
||||||
ptr+=2; /* pass the id */
|
ptr+=2; /* pass the id */
|
||||||
if(id < LANG_LAST_INDEX_IN_ARRAY) {
|
if(id < LANG_LAST_INDEX_IN_ARRAY) {
|
||||||
#if 0
|
#if 0
|
||||||
printf("%2x New: %30s ", id, ptr);
|
DEBUGF("%2x New: %30s ", id, ptr);
|
||||||
printf("Replaces: %s\n", language_strings[id]);
|
DEBUGF("Replaces: %s\n", language_strings[id]);
|
||||||
#endif
|
#endif
|
||||||
language_strings[id] = ptr; /* point to this string */
|
language_strings[id] = ptr; /* point to this string */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue