mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
WINDOW._blank was never set to anything but ' '.
This commit is contained in:
3
curses.h
3
curses.h
@@ -15,7 +15,7 @@
|
||||
* See the file maintain.er for details of the current maintainer. *
|
||||
************************************************************************/
|
||||
|
||||
/* $Id: curses.h,v 1.143 2006/03/20 07:43:33 wmcbrine Exp $ */
|
||||
/* $Id: curses.h,v 1.144 2006/03/20 07:46:26 wmcbrine Exp $ */
|
||||
|
||||
/*----------------------------------------------------------------------*
|
||||
* PDCurses *
|
||||
@@ -587,7 +587,6 @@ typedef struct _win /* definition of a window */
|
||||
char *_title; /* window title */
|
||||
char _title_ofs; /* window title offset from left */
|
||||
chtype _title_attr; /* window title attributes */
|
||||
chtype _blank; /* window's blank character */
|
||||
int _parx, _pary; /* coords relative to parent (0,0) */
|
||||
struct _win *_parent; /* subwin's pointer to parent win */
|
||||
} WINDOW;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
const char *rcsid_PDCwin =
|
||||
"$Id: pdcwin.c,v 1.30 2006/03/20 07:43:33 wmcbrine Exp $";
|
||||
"$Id: pdcwin.c,v 1.31 2006/03/20 07:46:26 wmcbrine Exp $";
|
||||
#endif
|
||||
|
||||
/*man-start**************************************************************
|
||||
@@ -85,7 +85,7 @@ int PDC_copy_win(const WINDOW *src_w, WINDOW *dst_w, int src_tr,
|
||||
for (col = 0; col < xdiff; col++)
|
||||
{
|
||||
if ((*w1ptr) != (*w2ptr) && !((*w1ptr & A_CHARTEXT)
|
||||
== src_w->_blank && overlay))
|
||||
== ' ' && overlay))
|
||||
{
|
||||
*w2ptr = *w1ptr;
|
||||
|
||||
@@ -210,7 +210,6 @@ WINDOW * PDC_makenew(int num_lines, int num_columns, int begy, int begx)
|
||||
win->_bmarg = num_lines - 1;
|
||||
win->_title_ofs = 1;
|
||||
win->_title_attr = win->_attrs;
|
||||
win->_blank = ' ';
|
||||
win->_parx = win->_pary = -1;
|
||||
|
||||
/* init to say window unchanged */
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
const char *rcsid_window =
|
||||
"$Id: window.c,v 1.23 2006/02/23 01:46:52 wmcbrine Exp $";
|
||||
"$Id: window.c,v 1.24 2006/03/20 07:46:26 wmcbrine Exp $";
|
||||
#endif
|
||||
|
||||
/*man-start**************************************************************
|
||||
@@ -403,7 +403,6 @@ WINDOW *dupwin(WINDOW *win)
|
||||
new->_title = win->_title;
|
||||
new->_title_ofs = win->_title_ofs;
|
||||
new->_title_attr = win->_title_attr;
|
||||
new->_blank = win->_blank;
|
||||
new->_parx = win->_parx;
|
||||
new->_pary = win->_pary;
|
||||
new->_parent = win->_parent;
|
||||
|
||||
Reference in New Issue
Block a user