Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 18:26:42 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348653 - head/usr.bin/vtfontcvt
Message-ID:  <201906041826.x54IQgGL029804@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906041826.x54IQgGL029804>