Check can_highlight in tui_check_and_display_highlight_if_needed
authorTom Tromey <tom@tromey.com>
Mon, 24 Jun 2019 02:48:59 +0000 (20:48 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:18:51 +0000 (12:18 -0600)
commit00e264e7626260a6df6b5a0aa7ee25215ea93f9c
tree503733e9caf5f26a5751b24c988058b50a93aa15
parent06210ce428ad74c28fd94f7ea3800b79791cdefa
Check can_highlight in tui_check_and_display_highlight_if_needed

tui_check_and_display_highlight_if_needed currently checks the
window's type; but this can be replaced with a check of
"can_highlight", making it more polymorphically-correct.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.c
(tui_check_and_display_highlight_if_needed): Check can_highlight.
gdb/ChangeLog
gdb/tui/tui-wingeneral.c