[langband-cvs] CVS: langband/zterm frame.c,1.17,1.18
Status: Alpha
Brought to you by:
stig
From: Stig E S. <st...@us...> - 2003-07-09 13:28:25
|
Update of /cvsroot/langband/langband/zterm In directory sc8-pr-cvs1:/tmp/cvs-serv25844/zterm Modified Files: frame.c Log Message: removed dead code Index: frame.c =================================================================== RCS file: /cvsroot/langband/langband/zterm/frame.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** frame.c 28 Apr 2003 23:03:11 -0000 1.17 --- frame.c 9 Jul 2003 13:27:35 -0000 1.18 *************** *** 334,344 **** if (lf && lf->visible) { DEBUGPUT("CLEANING FRAME.. BAD!"); - #if 0 - angband_zterm *old = Term; - Term_activate(lf->azt); - Term_redraw(); - Term_fresh(); - Term_activate(old); - #endif return key; } --- 334,337 ---- *************** *** 354,386 **** if (lf && lf->visible) { DBGPUT("Wiping FRAME %d.\n", key); - #if 0 - angband_zterm *old = Term; - int which_ui = current_ui(); - - - - Term_activate(lf->azt); - - Term_clear(); - Term_fresh(); - - if (0) { return -1; } - #ifdef USE_SDL - else if (which_ui == UITYPE_SDL) { - Term_xtra_sdl(TERM_XTRA_CLEAR,5); - } - #endif - #ifdef USE_GCU - else if (which_ui == UITYPE_GCU) { - Term_xtra_gcu(TERM_XTRA_CLEAR,5); - } - #endif - - // redraw here? - Term_redraw(); - Term_fresh(); - Term_activate(old); - //DBGPUT("Wiped %d.\n", key); - #endif return key; } --- 347,350 ---- |