From b5c5f06c4a3eec0a5472598a2fbf0c56bbbd0c23 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 14 Jul 2006 22:59:38 +0000 Subject: [PATCH] Removed the "buggy compiler fix" for NDP. I'm tempted to remove all support for NDP. --- pdcurses/bkgd.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pdcurses/bkgd.c b/pdcurses/bkgd.c index 26df62a2..0a27a6ee 100644 --- a/pdcurses/bkgd.c +++ b/pdcurses/bkgd.c @@ -25,7 +25,7 @@ #undef wbkgd #undef wbkgdset -RCSID("$Id: bkgd.c,v 1.22 2006/07/12 16:19:56 wmcbrine Exp $"); +RCSID("$Id: bkgd.c,v 1.23 2006/07/14 22:59:38 wmcbrine Exp $"); /*man-start************************************************************** @@ -113,9 +113,7 @@ int wbkgd(WINDOW *win, chtype ch) chtype oldcolr, oldch, newcolr, newch, colr, attr; chtype oldattr = 0, newattr = 0; chtype *winptr; -#ifdef MX386 - char tmpbuf[60]; -#endif + PDC_LOG(("wbkgd() - called\n")); if (win == NULL) @@ -136,12 +134,6 @@ int wbkgd(WINDOW *win, chtype ch) newattr = ((win->_bkgd & A_ATTRIBUTES) ^ newcolr); newch = (win->_bkgd & A_CHARTEXT); -#ifdef MX386 - /* buggy compiler fix */ - - sprintf(tmpbuf, "%d %d", oldch, newch); -#endif - /* what follows is what seems to occur in the System V implementation of this routine */