diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 15:16:52 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:35 -0600 |
commit | 8903bd8a37f905f5d77d2e04219e1a1eddaa6133 (patch) | |
tree | 18b361687cd3700d12e228b3e7c704b212a01e9e /opcodes | |
parent | 3f02ce1e3df15731872befd2e711854b2b259745 (diff) | |
download | gdb-8903bd8a37f905f5d77d2e04219e1a1eddaa6133.zip gdb-8903bd8a37f905f5d77d2e04219e1a1eddaa6133.tar.gz gdb-8903bd8a37f905f5d77d2e04219e1a1eddaa6133.tar.bz2 |
Introduce max_height method
This introduces the tui_win_info::max_height method and changes
new_height_ok to use it, rather than checking the window type
directly.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-win.c (tui_win_info::max_height)
(tui_cmd_window::max_height): New methods.
(new_height_ok): Call max_height.
* tui/tui-data.h (struct tui_win_info, struct tui_cmd_window)
<max_height>: New method.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions