diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-07-01 15:42:36 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-07-01 15:42:36 +0000 |
commit | 6552be7f745c5a8d506148c8af9d367c9d996d24 (patch) | |
tree | b9d673871a1490b64273a265d4d961316a2174db /Build/source/texk/xdvik/vf.c | |
parent | 48e2b240973977c208bc840b589b75b91a6f4c30 (diff) |
xdvik 22.84.14
git-svn-id: svn://tug.org/texlive/trunk@9142 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/vf.c')
-rw-r--r-- | Build/source/texk/xdvik/vf.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Build/source/texk/xdvik/vf.c b/Build/source/texk/xdvik/vf.c index 7fd4cd0379d..b5ab6ac005b 100644 --- a/Build/source/texk/xdvik/vf.c +++ b/Build/source/texk/xdvik/vf.c @@ -64,7 +64,7 @@ read_VF_index(struct font *fontp, wide_bool hushcs) long checksum; struct macro *newmacro; unsigned long maxcc = 0; - Boolean dummy = False; + Boolean dummy_success = False; fontp->read_char = NULL; fontp->flags |= FONT_VIRTUAL; @@ -90,10 +90,13 @@ read_VF_index(struct font *fontp, wide_bool hushcs) fontp->first_font = NULL; while ((cmnd = get_byte(VF_file)) >= FNTDEF1 && cmnd <= FNTDEF4) { struct font *newfontp = define_font(True, +#if DELAYED_MKTEXPK + True, +#endif VF_file, cmnd, fontp, fontp->vf_table, VFTABLELEN, &fontp->vf_chain, - &dummy); + &dummy_success); if (fontp->first_font == NULL) fontp->first_font = newfontp; } @@ -156,12 +159,12 @@ read_VF_index(struct font *fontp, wide_bool hushcs) else m->pos = xmalloc((unsigned)len); } - fread((char *)m->pos, 1, len, VF_file); + (void)fread((char *)m->pos, 1, len, VF_file); m->end = m->pos + len; } if (globals.debug & DBG_PK) - printf("Read VF macro for character %lu; dy = %ld, length = %d\n", - cc, m->dvi_adv, len); + printf("Read VF macro for character %lu; dy = %ld, length = %d\n", + cc, m->dvi_adv, len); } if (cmnd != POST) XDVI_FATAL((stderr, "Wrong command byte found in VF macro list: %d", cmnd)); |