From 3c7951c78bf63dfc3bf7dd50c1f97224a808dfec Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 4 Jun 2019 18:26:42 +0000 Subject: [PATCH] vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants PR: 205707 Reported by: Dmitry Wagin MFC after: 1 month --- usr.bin/vtfontcvt/vtfontcvt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c index e303d80b0eef..4b1c8eb78e3d 100644 --- a/usr.bin/vtfontcvt/vtfontcvt.c +++ b/usr.bin/vtfontcvt/vtfontcvt.c @@ -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);