summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/vt/mkkfont/mkkfont.c8
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);
OpenPOWER on IntegriCloud