* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)mvwin.c 5.1 (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
)