mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 20:22:11 +03:00
* widget.c (buttonbar_callback): Fix a bug that prevented the
last byte from being redrawn. Reported by David Martin <dmartina@excite.com>
This commit is contained in:
parent
564dc4264b
commit
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);
|
||||
|
Loading…
Reference in New Issue
Block a user