summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-03-06 23:18:47 +0000
committerAlexander Levin <al.le@rockbox.org>2009-03-06 23:18:47 +0000
commit2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5 (patch)
treeb2a203e8db27f8e90a102c2ce59fc200881cca92 /tools
parent3884266eade47025a2662056a966199982d4cf3c (diff)
downloadrockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.gz
rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.bz2
rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.zip
Remove the check since it can fail if the chars to process were limited per command line options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20221 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/convbdf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index 4dfc0595bb..b7790416a7 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -464,10 +464,6 @@ int bdf_read_header(FILE *fp, struct font* pf)
/* calc font size (offset/width entries) */
pf->firstchar = firstchar;
pf->size = lastchar - firstchar + 1;
- if (pf->size < pf->nchars) {
- fprintf(stderr, "Error: NCHARS and max code mismatch\n");
- return 0;
- }
/* use the font boundingbox to get initial maxwidth */
/*maxwidth = pf->fbbw - pf->fbbx;*/