summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-12-13 13:23:49 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-12-13 13:23:49 +0000
commit09deb4f8cf37fad71e5da1ea6ba3d2145fbd21e9 (patch)
treea8f52656f9684be5eec37ddbc526c085dbce9e11
parent48bd10bec5f30f75ce9fad77024752d7bf2cc8a1 (diff)
dvi2tty: Avoid compilar warning
git-svn-id: svn://tug.org/texlive/trunk@57124 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c10
1 files changed, 1 insertions, 9 deletions
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