Don't use TUI_DISASM_WIN in tui_disasm_window method
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 22:31:56 +0000 (16:31 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:28 +0000 (07:48 -0600)
commitf83d391c5aa3304faf8ef1384a6c64f082653260
tree7c6a7318cf4b601d49732ee0780ed7cbb3789dca
parent13446e05a363db17f0140b1450fc7df509d2ca37
Don't use TUI_DISASM_WIN in tui_disasm_window method

The previous patch made it clear that the diassembly window scrolling
method was written to assume there could only ever be a single
disassembly window.  This changes that spot to use "this" rather than
the TUI_DISASM_WIN global.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): Use
"this", not TUI_DISASM_WIN.
gdb/ChangeLog
gdb/tui/tui-disasm.c