diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-07-30 17:21:39 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-07-30 17:21:39 +0000 |
| commit | c8a57a4fe56f3245fcb57b55188c8a336340b078 (patch) | |
| tree | 7f7f89b59e18742d35d82f795df7418c5e33545e /lib/libncurses/lib_delch.c | |
| parent | ed29ca4685d39742de8539c10654fb23eb026e6a (diff) | |
Notes
Diffstat (limited to 'lib/libncurses/lib_delch.c')
| -rw-r--r-- | lib/libncurses/lib_delch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libncurses/lib_delch.c b/lib/libncurses/lib_delch.c index bc802ca81186..0a0fd0a66fd7 100644 --- a/lib/libncurses/lib_delch.c +++ b/lib/libncurses/lib_delch.c @@ -17,6 +17,7 @@ int wdelch(WINDOW *win) { chtype *temp1, *temp2; chtype *end; +chtype blank = _nc_background(win); T(("wdelch(%x) called", win)); @@ -27,7 +28,7 @@ chtype *end; while (temp1 < end) *temp1++ = *temp2++; - *temp1 = ' ' | win->_attrs; + *temp1 = blank; win->_lastchar[win->_cury] = win->_maxx; |
