diff options
Diffstat (limited to 'contrib/ncurses/ncurses/base/lib_slkclear.c')
-rw-r--r-- | contrib/ncurses/ncurses/base/lib_slkclear.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ncurses/ncurses/base/lib_slkclear.c b/contrib/ncurses/ncurses/base/lib_slkclear.c index 03e6721..99edcd5 100644 --- a/contrib/ncurses/ncurses/base/lib_slkclear.c +++ b/contrib/ncurses/ncurses/base/lib_slkclear.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998,2000,2001 Free Software Foundation, Inc. * + * Copyright (c) 1998-2001,2006 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 * @@ -38,7 +38,7 @@ */ #include <curses.priv.h> -MODULE_ID("$Id: lib_slkclear.c,v 1.8 2001/12/19 01:07:01 tom Exp $") +MODULE_ID("$Id: lib_slkclear.c,v 1.9 2006/05/27 19:21:19 tom Exp $") NCURSES_EXPORT(int) slk_clear(void) @@ -51,7 +51,7 @@ slk_clear(void) /* For simulated SLK's it's looks much more natural to inherit those attributes from the standard screen */ SP->_slk->win->_nc_bkgd = stdscr->_nc_bkgd; - SP->_slk->win->_attrs = stdscr->_attrs; + WINDOW_ATTRS(SP->_slk->win) = WINDOW_ATTRS(stdscr); if (SP->_slk->win == stdscr) { returnCode(OK); } else { |