summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/convbdf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index c85690a2da..141b46f55f 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -418,7 +418,8 @@ int bdf_read_header(FILE *fp, struct font* pf)
418 /* calc default char*/ 418 /* calc default char*/
419 if (pf->defaultchar < 0 || 419 if (pf->defaultchar < 0 ||
420 pf->defaultchar < firstchar || 420 pf->defaultchar < firstchar ||
421 pf->defaultchar > limit_char ) 421 pf->defaultchar > limit_char ||
422 pf->defaultchar > lastchar)
422 pf->defaultchar = firstchar; 423 pf->defaultchar = firstchar;
423 424
424 /* calc font size (offset/width entries)*/ 425 /* calc font size (offset/width entries)*/