summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-06-16 15:14:49 +0000
committerEd Maste <emaste@FreeBSD.org>2019-06-16 15:14:49 +0000
commit97634938d05f300270c949c961b5dc4db334622f (patch)
treeb48014d52c8e4dc28e5e6345a4f27e6ea93d42ea /usr.bin
parent08584e2c48e958e1e636ae4a115642c415f7cfcb (diff)
downloadsrc-test2-97634938d05f300270c949c961b5dc4db334622f.tar.gz
src-test2-97634938d05f300270c949c961b5dc4db334622f.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vtfontcvt/vtfontcvt.c2
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;