diff options
Diffstat (limited to 'contrib/ncurses/panel/p_update.c')
-rw-r--r-- | contrib/ncurses/panel/p_update.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/ncurses/panel/p_update.c b/contrib/ncurses/panel/p_update.c index 1a03739..5967718 100644 --- a/contrib/ncurses/panel/p_update.c +++ b/contrib/ncurses/panel/p_update.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998,2000 Free Software Foundation, Inc. * + * Copyright (c) 1998-2000,2005 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 * @@ -36,18 +36,19 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_update.c,v 1.7 2001/02/24 23:41:42 tom Exp $") +MODULE_ID("$Id: p_update.c,v 1.9 2005/02/19 16:49:47 tom Exp $") NCURSES_EXPORT(void) -update_panels (void) +update_panels(void) { PANEL *pan; + T((T_CALLED("update_panels()"))); dBug(("--> update_panels")); pan = _nc_bottom_panel; - while(pan && pan->above) + while (pan && pan->above) { - PANEL_UPDATE(pan,pan->above); + PANEL_UPDATE(pan, pan->above); pan = pan->above; } @@ -57,4 +58,6 @@ update_panels (void) Wnoutrefresh(pan); pan = pan->above; } + + returnVoid; } |