From 09deb4f8cf37fad71e5da1ea6ba3d2145fbd21e9 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sun, 13 Dec 2020 13:23:49 +0000 Subject: dvi2tty: Avoid compilar warning git-svn-id: svn://tug.org/texlive/trunk@57124 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c b/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c index 72849205ed3..aa767cf45b8 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c +++ b/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c @@ -853,11 +853,7 @@ void ruleaux(long rulewt, long ruleht, char ch) long horizontalmove(long amount) { -#if defined(MSDOS) || defined(THINK_C) - if (labs(amount) > charwidth / 4L) { /* } to make vi happy */ -#else - if (abs(amount) > charwidth / 4L) { -#endif + if (labs(amount) > charwidth / 4L) { foo = 3*charwidth / 4; if (amount > 0) amount = ((amount+foo) / charwidth) * charwidth; @@ -2009,11 +2005,7 @@ void outchar(long ch) /* fprintf(stderr, "hor: %ld, ver: %ld\n", h, v); */ -#if defined(MSDOS) || defined(THINK_C) if (labs(v - currentline->vv) > lineheight / 2L) -#else - if (abs(v - currentline->vv) > lineheight / 2L) -#endif currentline = findline(); #if 0 -- cgit v1.2.3