* help.c (interactive_display): Always show button bar.

This commit is contained in:
Pavel Roskin 2002-08-21 23:02:19 +00:00
parent 231f67342e
commit 1f423be341
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2002-08-21 Pavel Roskin <proski@gnu.org>
* help.c (interactive_display): Always show button bar.
* widget.c (buttonbar_callback): Fix a bug that prevented the
last byte from being redrawn.
Reported by David Martin <dmartina@excite.com>

View File

@ -50,7 +50,6 @@
#include "mouse.h"
#include "key.h" /* For mi_getch() */
#include "help.h"
#include "layout.h" /* keybar_visible */
#include "dlg.h" /* For Dlg_head */
#include "widget.h" /* For Widget */
@ -799,7 +798,7 @@ interactive_display (char *filename, char *node)
history [history_ptr].link = selected_item;
}
help_bar = buttonbar_new (keybar_visible);
help_bar = buttonbar_new (1);
help_bar->widget.y -= whelp->y;
help_bar->widget.x -= whelp->x;