should clear to end of first line
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Fri, 25 Oct 1985 04:22:10 +0000 (20:22 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Fri, 25 Oct 1985 04:22:10 +0000 (20:22 -0800)
SCCS-vsn: lib/libcurses/clrtobot.c 5.2

usr/src/lib/libcurses/clrtobot.c

index 373d180..c8ab0e8 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)clrtobot.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)clrtobot.c 5.2 (Berkeley) %G%";
 #endif not lint
 
 # include      "curses.ext"
 #endif not lint
 
 # include      "curses.ext"
@@ -33,7 +33,7 @@ reg WINDOW    *win; {
                                *sp = ' ';
                        }
                if (minx != _NOCHANGE)
                                *sp = ' ';
                        }
                if (minx != _NOCHANGE)
-                       touchline(win, y, minx, maxx - &win->_y[y][startx]);
+                       touchline(win, y, minx, maxx - &win->_y[y][0]);
                startx = 0;
        }
 }
                startx = 0;
        }
 }