summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-17 12:53:23 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-17 12:53:23 +0000
commit8d991e76018da6b7f76032a596c2ee2e647bc9ec (patch)
tree8d3e9a8931c2167a394a11bf68854230a1b49ecb /tools
parente9327a947fa01acf6b149296d581bea052872715 (diff)
downloadrockbox-8d991e76018da6b7f76032a596c2ee2e647bc9ec.tar.gz
rockbox-8d991e76018da6b7f76032a596c2ee2e647bc9ec.tar.bz2
rockbox-8d991e76018da6b7f76032a596c2ee2e647bc9ec.zip
Fix build warnings and errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12044 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/convbdf.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index c75b5fb444..5cd45d0583 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -1000,7 +1000,7 @@ int gen_h_header(struct font* pf, char *path)
"#define SYSFONT_FIRST_CHAR %d\n"
"#define SYSFONT_LAST_CHAR %d\n"
"#define SYSFONT_DEFAULT_CHAR %d\n"
- "#define SYSFONT_PROPORTIONAL %s\n"
+ "#define SYSFONT_PROPORTIONAL %d\n"
"#define SYSFONT_COPYRIGHT %s\n"
"#define SYSFONT_BITS_SIZE %d\n"
"\n"
@@ -1019,14 +1019,17 @@ int gen_h_header(struct font* pf, char *path)
fprintf(ofp, hdr1, buf,
pf->name,
pf->facename? pf->facename: "",
- pf->maxwidth, pf->height,
+ pf->maxwidth,
+ pf->height,
pf->size,
- pf->ascent, pf->descent,
+ pf->ascent,
+ pf->descent,
pf->firstchar,
pf->firstchar+pf->size-1,
pf->defaultchar,
pf->width? 1: 0,
- pf->copyright? pf->copyright: "");
+ pf->copyright? pf->copyright: "",
+ pf->bits_size);
return 0;
}