* widget.c (buttonbar_callback): Fix a bug that prevented the
last byte from being redrawn. Reported by David Martin <dmartina@excite.com>
Этот коммит содержится в:
родитель
564dc4264b
Коммит
f871fca140
@ -1,5 +1,9 @@
|
||||
2002-08-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* widget.c (buttonbar_callback): Fix a bug that prevented the
|
||||
last byte from being redrawn.
|
||||
Reported by David Martin <dmartina@excite.com>
|
||||
|
||||
* layout.c (setup_panels): Make the button bar 0 lines high if
|
||||
it's invisible, so that mouse click on the history button works
|
||||
with invisible button bar.
|
||||
|
@ -2237,7 +2237,7 @@ buttonbar_callback (Dlg_head *h, WButtonBar *bb, int msg, int par)
|
||||
return 1;
|
||||
widget_move (&bb->widget, 0, 0);
|
||||
attrset (DEFAULT_COLOR);
|
||||
printw ("%-*s", bb->widget.cols - 1, "");
|
||||
printw ("%-*s", bb->widget.cols, "");
|
||||
for (i = 0; i < COLS/8 && i < 10; i++){
|
||||
widget_move (&bb->widget, 0, i*8);
|
||||
attrset (DEFAULT_COLOR);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user