From 2af0b60aaa2f540a14d54ae4f697cf75dcfc08e5 Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Fri, 6 Mar 2009 23:18:47 +0000 Subject: [PATCH] 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 --- tools/convbdf.c | 4 ---- 1 file changed, 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;*/