X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftty%2Fhashmap.c;h=a2c368769f87d8392c599764ca16c177ee80a6cf;hb=3faafb2efcc426a48649c12943d5006cae12cff1;hp=1f482d4b6d0b4f1701b6bf766be870926bf5c68b;hpb=027ae42953e3186daed8f3882da73de48291b606;p=ncurses.git diff --git a/ncurses/tty/hashmap.c b/ncurses/tty/hashmap.c index 1f482d4b..a2c36876 100644 --- a/ncurses/tty/hashmap.c +++ b/ncurses/tty/hashmap.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -70,7 +70,7 @@ AUTHOR #include #include /* for back_color_erase */ -MODULE_ID("$Id: hashmap.c,v 1.49 2006/03/11 19:33:49 tom Exp $") +MODULE_ID("$Id: hashmap.c,v 1.51 2007/04/28 20:14:15 tom Exp $") #ifdef HASHDEBUG @@ -87,9 +87,11 @@ static chtype oldtext[MAXLINES][TEXTWIDTH], newtext[MAXLINES][TEXTWIDTH]; # define NEWTEXT(m) newtext[m] # define PENDING(n) 1 +extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing; + #else /* !HASHDEBUG */ -# define OLDNUM(n) _nc_oldnums[n] +# define OLDNUM(n) SP->_oldnum_list[n] # define OLDTEXT(n) curscr->_line[n].text # define NEWTEXT(m) newscr->_line[m].text # define TEXTWIDTH (curscr->_maxx+1)