diff options
author | emaste <emaste@FreeBSD.org> | 2013-12-23 17:14:11 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-12-23 17:14:11 +0000 |
commit | 42f0c8aa514bd0cecb4db5f27342b33eb85eacee (patch) | |
tree | 91c7e892681f358cd75f93b291d92a571647a044 /tools | |
parent | 0c86e62082fd54fcb627f0d8df12d72bd852e78e (diff) | |
download | FreeBSD-src-42f0c8aa514bd0cecb4db5f27342b33eb85eacee.zip FreeBSD-src-42f0c8aa514bd0cecb4db5f27342b33eb85eacee.tar.gz |
Output all {normal,bold} {left,right} maps
This change was missed in r259680.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/vt/mkkfont/mkkfont.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/tools/vt/mkkfont/mkkfont.c b/tools/tools/vt/mkkfont/mkkfont.c index 4eb6611..7700e9c 100644 --- a/tools/tools/vt/mkkfont/mkkfont.c +++ b/tools/tools/vt/mkkfont/mkkfont.c @@ -154,6 +154,7 @@ int main(int argc __unused, char *argv[] __unused) { struct file_header fh; + unsigned int i; if (fread(&fh, sizeof fh, 1, stdin) != 1) { perror("file_header"); @@ -169,10 +170,9 @@ main(int argc __unused, char *argv[] __unused) if (print_glyphs(&fh) != 0) return (1); - if (print_mappings(&fh, 0) != 0) - return (1); - if (print_mappings(&fh, 1) != 0) - return (1); + for (i = 0; i < 4; i++) + if (print_mappings(&fh, i) != 0) + return (1); if (print_info(&fh) != 0) return (1); |