From 0ec188e4bda5bbce1ca6bb39f8e121f7c47d0adf Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 12 Oct 2013 11:25:24 +0000 Subject: Rename XDVI_ID to XDV_ID git-svn-id: svn://tug.org/texlive/trunk@31885 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/ChangeLog | 4 ++++ Build/source/texk/dvipdfm-x/dvi.c | 4 ++-- Build/source/texk/dvipdfm-x/dvicodes.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 2f51b1142c0..671a60c7ecc 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2013-10-12 Khaled Hosny + + * dvi.c, dvicodes.h: Rename XDVI_ID to XDV_ID. + 2013-09-30 Peter Breitenlohner * configure.ac: Drop the useless KPSE_LT_HACK. diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c index e1910dc2ca3..a18a6ab9dc0 100644 --- a/Build/source/texk/dvipdfm-x/dvi.c +++ b/Build/source/texk/dvipdfm-x/dvi.c @@ -447,7 +447,7 @@ find_post (void) /* file_position now points to last non padding character or * beginning of file */ if (dvi_file_size - current < 4 || current == 0 || - !(ch == DVI_ID || ch == DVIV_ID || (is_xetex && ch == XDVI_ID))) { + !(ch == DVI_ID || ch == DVIV_ID || (is_xetex && ch == XDV_ID))) { MESG("DVI ID = %d\n", ch); ERROR(invalid_signature); } @@ -554,7 +554,7 @@ get_preamble_dvi_info (void) } ch = get_unsigned_byte(dvi_file); - if (!(ch == DVI_ID || ch == DVIV_ID || (is_xetex && ch == XDVI_ID))) { + if (!(ch == DVI_ID || ch == DVIV_ID || (is_xetex && ch == XDV_ID))) { MESG("DVI ID = %d\n", ch); ERROR(invalid_signature); } diff --git a/Build/source/texk/dvipdfm-x/dvicodes.h b/Build/source/texk/dvipdfm-x/dvicodes.h index 16876bb19f5..6b840f12a9a 100644 --- a/Build/source/texk/dvipdfm-x/dvicodes.h +++ b/Build/source/texk/dvipdfm-x/dvicodes.h @@ -102,7 +102,7 @@ one byte unsigned comment length followed by comment. */ #define DVI_ID 2 /* ID Byte for current DVI file */ #define DVIV_ID 3 /* with Ascii pTeX VW mode extension */ -#define XDVI_ID 5 /* XeTeX ".xdv" output that uses XDV opcodes below */ +#define XDV_ID 5 /* XeTeX ".xdv" output that uses XDV opcodes below */ #define POST 248 /* Postamble- -- similar to preamble four byte pointer to final bop four byte numerator -- cgit v1.2.3