svn commit: r348653 - head/usr.bin/vtfontcvt
Ed Maste
emaste at FreeBSD.org
Tue Jun 4 18:26:43 UTC 2019
Author: emaste
Date: Tue Jun 4 18:26:42 2019
New Revision: 348653
URL: https://svnweb.freebsd.org/changeset/base/348653
Log:
vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants
PR: 205707
Reported by: Dmitry Wagin
MFC after: 1 month
Modified:
head/usr.bin/vtfontcvt/vtfontcvt.c
Modified: head/usr.bin/vtfontcvt/vtfontcvt.c
==============================================================================
--- head/usr.bin/vtfontcvt/vtfontcvt.c Tue Jun 4 18:26:29 2019 (r348652)
+++ head/usr.bin/vtfontcvt/vtfontcvt.c Tue Jun 4 18:26:42 2019 (r348653)
@@ -496,9 +496,9 @@ write_fnt(const char *filename)
if (write_glyphs(fp) != 0 ||
write_mappings(fp, VFNT_MAP_NORMAL) != 0 ||
- write_mappings(fp, 1) != 0 ||
+ write_mappings(fp, VFNT_MAP_NORMAL_RH) != 0 ||
write_mappings(fp, VFNT_MAP_BOLD) != 0 ||
- write_mappings(fp, 3) != 0) {
+ write_mappings(fp, VFNT_MAP_BOLD_RH) != 0) {
perror(filename);
fclose(fp);
return (1);
More information about the svn-src-all
mailing list