svn commit: r349111 - head/usr.bin/vtfontcvt
Ed Maste
emaste at FreeBSD.org
Sun Jun 16 15:14:50 UTC 2019
Author: emaste
Date: Sun Jun 16 15:14:49 2019
New Revision: 349111
URL: https://svnweb.freebsd.org/changeset/base/349111
Log:
vtfontcvt: correct typo in hex parsing update
PR: 205707
Submitted by: Dmitry Wagin
MFC with: 349100
Event: Berlin Devsummit 2019
Modified:
head/usr.bin/vtfontcvt/vtfontcvt.c
Modified: head/usr.bin/vtfontcvt/vtfontcvt.c
==============================================================================
--- head/usr.bin/vtfontcvt/vtfontcvt.c Sun Jun 16 15:11:52 2019 (r349110)
+++ head/usr.bin/vtfontcvt/vtfontcvt.c Sun Jun 16 15:14:49 2019 (r349111)
@@ -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;
More information about the svn-src-all
mailing list