diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-24 15:43:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-20 13:49:08 -0600 |
commit | 9abd8a65c1298258c005af3f80bdc4da9726ee05 (patch) | |
tree | 94c716e06fccfeb726d6ca732f02d02b4f57e042 /gdb/tui/tui.c | |
parent | b5457826744f08208a4c29addbbc26c7c877c485 (diff) | |
download | fsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.zip fsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.tar.gz fsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.tar.bz2 |
Change "win_resized" to bool
This changes the "win_resized" global to be a bool and then updates
the uses.
gdb/ChangeLog
2019-09-20 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_enable): Update.
* tui/tui-win.c (tui_sigwinch_handler, tui_async_resize_screen):
Update.
* tui/tui-data.h (tui_win_resized, tui_set_win_resized_to):
Update.
* tui/tui-data.c (win_resized): Now bool.
(tui_win_resized): Return bool.
(tui_set_win_resized_to): Accept a bool.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 5d6b9f3..966304f 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -504,7 +504,7 @@ tui_enable (void) window. */ if (tui_win_resized ()) { - tui_set_win_resized_to (FALSE); + tui_set_win_resized_to (false); tui_resize_all (); } |