diff options
author | Ed Maste <emaste@FreeBSD.org> | 2019-06-16 15:14:49 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2019-06-16 15:14:49 +0000 |
commit | 97634938d05f300270c949c961b5dc4db334622f (patch) | |
tree | b48014d52c8e4dc28e5e6345a4f27e6ea93d42ea /usr.bin | |
parent | 08584e2c48e958e1e636ae4a115642c415f7cfcb (diff) | |
download | src-test2-97634938d05f300270c949c961b5dc4db334622f.tar.gz src-test2-97634938d05f300270c949c961b5dc4db334622f.zip |
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/vtfontcvt/vtfontcvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c index 02d4d1cae050..70ec7cf31812 100644 --- a/usr.bin/vtfontcvt/vtfontcvt.c +++ b/usr.bin/vtfontcvt/vtfontcvt.c @@ -484,7 +484,7 @@ parse_hex(FILE *fp, unsigned int map_idx) "malformed input: broken bitmap, character %06x", curchar); gwidth = width * 2; - gwbytes = howmany(width, 8); + gwbytes = howmany(gwidth, 8); if (chars_per_row < gwbytes * 2 || gwidth <= 8) { gwidth = width; /* Single-width character. */ gwbytes = wbytes; |