From 27229e99915e0a4bed28d2a9428a73c34df99415 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 1 Sep 2002 16:12:52 +0000 Subject: * tui-out.c (tui_out_new): Clear start_of_line. * tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines to update the current source line. --- gdb/tui/tuiSource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/tui/tuiSource.c') 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); } } -- cgit v1.1