diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-12-21 13:16:24 +0100 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2021-01-05 14:08:26 +0100 |
commit | b5ff370e964a5a794a6b5791ca55ac103ebffe70 (patch) | |
tree | 60efadcd9c0663eec43901bbf5174b08cd8b61b3 /gdb/ChangeLog | |
parent | b281a04ff0a40440c7a2a0ab75ac0410cc1f53e8 (diff) | |
download | gdb-b5ff370e964a5a794a6b5791ca55ac103ebffe70.zip gdb-b5ff370e964a5a794a6b5791ca55ac103ebffe70.tar.gz gdb-b5ff370e964a5a794a6b5791ca55ac103ebffe70.tar.bz2 |
Fix TUI source window drawing
The smaxrow and smaxcol parameters of prefresh are the bottom right corner
of the text area inclusive, not exclusive.
And if the source window grows bigger in height, the pad has to grow as
well.
gdb/ChangeLog:
2021-01-05 Hannes Domani <ssbssa@yahoo.de>
PR tui/26927
* tui/tui-winsource.c (tui_source_window_base::refresh_window):
Fix source pad size in prefresh.
(tui_source_window_base::show_source_content): Grow source pad
if necessary.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ece6c7..7716ff9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2021-01-05 Hannes Domani <ssbssa@yahoo.de> + + PR tui/26927 + * tui/tui-winsource.c (tui_source_window_base::refresh_window): + Fix source pad size in prefresh. + (tui_source_window_base::show_source_content): Grow source pad + if necessary. + 2021-01-04 Mike Frysinger <vapier@gentoo.org> * bfin-tdep.c (bfin_push_dummy_call): Use align_up. |