Fix build warnings and errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12044 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9327a947f
commit
8d991e7601
1 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue