Added __ISPASTEOL support.
authorElan Amir <elan@ucbvax.Berkeley.EDU>
Tue, 22 Sep 1992 06:23:50 +0000 (22:23 -0800)
committerElan Amir <elan@ucbvax.Berkeley.EDU>
Tue, 22 Sep 1992 06:23:50 +0000 (22:23 -0800)
SCCS-vsn: lib/libcurses/move.c 5.8

usr/src/lib/libcurses/move.c

index a6715ce..9a69115 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)move.c     5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)move.c     5.8 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <curses.h>
 #endif /* not lint */
 
 #include <curses.h>
@@ -30,5 +30,6 @@ wmove(win, y, x)
                return (ERR);
        win->curx = x;
        win->cury = y;
                return (ERR);
        win->curx = x;
        win->cury = y;
+       win->lines[y]->flags &= ~__ISPASTEOL;
        return (OK);
 }
        return (OK);
 }