Fix vertical scrolling of TUI source window
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Mar 2019 17:53:46 +0000 (19:53 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Mar 2019 17:53:46 +0000 (19:53 +0200)
commitab42892fb7d265e72a85e918d4f5c6dfeee3fcd8
tree120fabb930e1b2c3212a6a87d994c70150dfd0b3
parent8d8c087f34beaa271c3f8d5597d92bce4e9c7f4a
Fix vertical scrolling of TUI source window

gdb/ChangeLog:
2019-03-16  Eli Zaretskii  <eliz@gnu.org>

* source-cache.c (source_cache::get_source_lines): Call
find_source_lines to initialize s->nlines.  This fixes vertical
scrolling of TUI source window when the DOWN arrow is pressed.
gdb/ChangeLog
gdb/source-cache.c