texlive[57124] Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c:

commits+takuji at tug.org commits+takuji at tug.org
Sun Dec 13 14:23:49 CET 2020


Revision: 57124
          http://tug.org/svn/texlive?view=revision&revision=57124
Author:   takuji
Date:     2020-12-13 14:23:49 +0100 (Sun, 13 Dec 2020)
Log Message:
-----------
dvi2tty: Avoid compilar warning

Modified Paths:
--------------
    trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c

Modified: trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c
===================================================================
--- trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c	2020-12-13 11:45:11 UTC (rev 57123)
+++ trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c	2020-12-13 13:23:49 UTC (rev 57124)
@@ -853,11 +853,7 @@
 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 @@
 
 /*     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



More information about the tex-live-commits mailing list.