diff options
author | Tom Tromey <tromey@adacore.com> | 2022-11-17 09:35:20 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-11-17 09:35:20 -0700 |
commit | 2f6831b8066cd758e2f39c38503d2fa41608b9a7 (patch) | |
tree | 06b2a84543c04adcc35267fc7eca48ffe12d3681 /gdb/tui | |
parent | 03acd4d85430c8afaa72db4daf1421ee82df53ec (diff) | |
download | gdb-2f6831b8066cd758e2f39c38503d2fa41608b9a7.zip gdb-2f6831b8066cd758e2f39c38503d2fa41608b9a7.tar.gz gdb-2f6831b8066cd758e2f39c38503d2fa41608b9a7.tar.bz2 |
Use boolean literals for pagination_enabled
I noticed a couple of spots that used '0' rather than 'false' when
modifying pagination_enabled. This patch cleans these up.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-regs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 3eff98a..af7f494 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -93,7 +93,7 @@ tui_register_format (frame_info_ptr frame, int regnum) tab_expansion_file stream; scoped_restore save_pagination - = make_scoped_restore (&pagination_enabled, 0); + = make_scoped_restore (&pagination_enabled, false); scoped_restore save_stdout = make_scoped_restore (&gdb_stdout, &stream); |