diff options
author | Alexander Levin <al.le@rockbox.org> | 2009-03-06 23:18:47 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2009-03-06 23:18:47 +0000 |
commit | 2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5 (patch) | |
tree | b2a203e8db27f8e90a102c2ce59fc200881cca92 | |
parent | 3884266eade47025a2662056a966199982d4cf3c (diff) | |
download | rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.gz 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
-rw-r--r-- | tools/convbdf.c | 4 |
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) | |||
464 | /* calc font size (offset/width entries) */ | 464 | /* calc font size (offset/width entries) */ |
465 | pf->firstchar = firstchar; | 465 | pf->firstchar = firstchar; |
466 | pf->size = lastchar - firstchar + 1; | 466 | pf->size = lastchar - firstchar + 1; |
467 | if (pf->size < pf->nchars) { | ||
468 | fprintf(stderr, "Error: NCHARS and max code mismatch\n"); | ||
469 | return 0; | ||
470 | } | ||
471 | 467 | ||
472 | /* use the font boundingbox to get initial maxwidth */ | 468 | /* use the font boundingbox to get initial maxwidth */ |
473 | /*maxwidth = pf->fbbw - pf->fbbx;*/ | 469 | /*maxwidth = pf->fbbw - pf->fbbx;*/ |