From 14a4ffef2140fce25da4a340b321a67043392716 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 30 Jul 2006 06:52:01 +0000 Subject: [PATCH] A small step backwards -- ifndef XCURSES the resize_term() call in PDC_restore_screen(). --- pdcurses/kernel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdcurses/kernel.c b/pdcurses/kernel.c index 6ce888e5..45b4f94d 100644 --- a/pdcurses/kernel.c +++ b/pdcurses/kernel.c @@ -36,7 +36,7 @@ # undef wmove #endif -RCSID("$Id: kernel.c,v 1.53 2006/07/28 19:56:27 wmcbrine Exp $"); +RCSID("$Id: kernel.c,v 1.54 2006/07/30 06:52:01 wmcbrine Exp $"); RIPPEDOFFLINE linesripped[5]; char linesrippedoff = 0; @@ -173,9 +173,10 @@ static int PDC_restore_mode(struct cttyset *ctty) if (PDC_get_scrn_mode() != ctty->saved.scrnmode) PDC_set_scrn_mode(ctty->saved.scrnmode); #endif +#ifndef XCURSES if ((LINES != ctty->saved.lines) || (COLS != ctty->saved.cols)) resize_term(ctty->saved.lines, ctty->saved.cols); - +#endif PDC_curs_set(ctty->saved.visibility); PDC_gotoyx(ctty->saved.cursrow, ctty->saved.curscol);