X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Fbase%2Flib_window.c;h=bb20f4faf2a2eb2bad27b7f68409f1520bb8b8f9;hb=3ec8f79f3ceda990461c80de2f96d66b886e00d5;hp=25101673044e90235ae81d823af12ab0ba6c1a5b;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;p=ncurses.git diff --git a/ncurses/base/lib_window.c b/ncurses/base/lib_window.c index 25101673..bb20f4fa 100644 --- a/ncurses/base/lib_window.c +++ b/ncurses/base/lib_window.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2001,2002 Free Software Foundation, Inc. * + * Copyright (c) 1998-2002,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 * @@ -39,7 +39,7 @@ #include -MODULE_ID("$Id: lib_window.c,v 1.21 2002/09/14 23:28:02 tom Exp $") +MODULE_ID("$Id: lib_window.c,v 1.22 2006/05/27 19:21:19 tom Exp $") NCURSES_EXPORT(void) _nc_synchook(WINDOW *win) @@ -211,7 +211,7 @@ dupwin(WINDOW *win) * The text is really copied into the clone. */ - nwin->_attrs = win->_attrs; + WINDOW_ATTRS(nwin) = WINDOW_ATTRS(win); nwin->_nc_bkgd = win->_nc_bkgd; nwin->_notimeout = win->_notimeout;