diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-26 15:02:11 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-26 15:02:11 +0100 |
commit | 77ee2851def905c8be09fc3d7d2d3c5cd4f204a6 (patch) | |
tree | d2215ef61eb4edaeba6f414515fc8a61897bf41a /tools/convbdf.c | |
parent | 37be80a1a5eefd862f7ee132083723cef03ceb3c (diff) | |
download | rockbox-77ee2851def905c8be09fc3d7d2d3c5cd4f204a6.tar.gz rockbox-77ee2851def905c8be09fc3d7d2d3c5cd4f204a6.zip |
Fix warnings. convbdf needed to be updated for the changed font struct because it generates sysfont.c.
Change-Id: Id5aea6b6c73438242a80ae6849ee5e29ab8659dc
Diffstat (limited to 'tools/convbdf.c')
-rw-r--r-- | tools/convbdf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index 4cc7ec9983..c508bbf2e8 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c | |||
@@ -1211,6 +1211,8 @@ int gen_c_source(struct font* pf, char *path) | |||
1211 | char obuf[256]; | 1211 | char obuf[256]; |
1212 | char hdr1[] = { | 1212 | char hdr1[] = { |
1213 | "/* Generated by convbdf on %s. */\n" | 1213 | "/* Generated by convbdf on %s. */\n" |
1214 | "#include <stdbool.h>\n" | ||
1215 | "#include \"config.h\"\n" | ||
1214 | "#include \"font.h\"\n" | 1216 | "#include \"font.h\"\n" |
1215 | "#ifdef HAVE_LCD_BITMAP\n" | 1217 | "#ifdef HAVE_LCD_BITMAP\n" |
1216 | "\n" | 1218 | "\n" |
@@ -1418,6 +1420,7 @@ int gen_c_source(struct font* pf, char *path) | |||
1418 | " 0, /* ^ position */\n" | 1420 | " 0, /* ^ position */\n" |
1419 | " 0, /* ^ end */\n" | 1421 | " 0, /* ^ end */\n" |
1420 | " 0, /* ^ size */\n" | 1422 | " 0, /* ^ size */\n" |
1423 | " false, /* disabled */\n" | ||
1421 | " {{0,0,0,0,0},0,0,0,0,0}, /* cache */\n" | 1424 | " {{0,0,0,0,0},0,0,0,0,0}, /* cache */\n" |
1422 | " 0, /* */\n" | 1425 | " 0, /* */\n" |
1423 | " 0, /* */\n" | 1426 | " 0, /* */\n" |