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 /tools | |
| parent | 3884266eade47025a2662056a966199982d4cf3c (diff) | |
| download | rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.zip rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.gz rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.bz2 rockbox-2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5.tar.xz | |
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index 4dfc059..b779041 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;*/ |