diff options
Diffstat (limited to 'gdb/tui/tuiSource.c')
-rw-r--r-- | gdb/tui/tuiSource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tuiSource.c b/gdb/tui/tuiSource.c index 3c1b81e..0d59bf0 100644 --- a/gdb/tui/tuiSource.c +++ b/gdb/tui/tuiSource.c @@ -359,7 +359,7 @@ tuiVerticalSourceScroll (TuiScrollDirection scrollDirection, if (l.lineNo <= 0) l.lineNo = 1; } - if (identify_source_line (s, l.lineNo, 0, -1) == 1) - tuiUpdateSourceWindowAsIs (srcWin, s, l, FALSE); + + print_source_lines (s, l.lineNo, l.lineNo + 1, 0); } } |