AddToRefresh(screen) register TScreen *screen;
AddToRefresh(register TScreen *screen)
AddToRefresh(screen)register TScreen *screen;{	register int amount = screen->refresh_amt;	register int row = screen->cur_row;	if(amount == 0)		return(0);	if(amount > 0) {		register int bottom;		if(row == (bottom = screen->bot_marg) - amount) {			screen->refresh_amt++;			return(1);		}		return(row >= bottom - amount + 1 && row <= bottom);	} else {		register int top;		amount = -amount;		if(row == (top = screen->top_marg) + amount) {			screen->refresh_amt--;			return(1);		}		return(row <= top + amount - 1 && row >= top);	}}