* Copyright (c) 1981 Regents of the University of California.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)mvwin.c 5.9 (Berkeley) %G%";
* Relocate the starting position of a window.
if (by
+ win
->maxy
> LINES
|| bx
+ win
->maxx
> COLS
)
if (by
< orig
->begy
|| win
->maxy
+ dy
> orig
->maxy
)
if (bx
< orig
->begx
|| win
->maxx
+ dx
> orig
->maxx
)