diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-09-01 16:12:52 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-09-01 16:12:52 +0000 |
commit | 27229e99915e0a4bed28d2a9428a73c34df99415 (patch) | |
tree | 547de03607e71b8a36e6f30c80651e15f06dc222 /gdb/tui/tuiSource.c | |
parent | cda8ab404866295418b3a8d549cf78f566e0b625 (diff) | |
download | gdb-27229e99915e0a4bed28d2a9428a73c34df99415.zip gdb-27229e99915e0a4bed28d2a9428a73c34df99415.tar.gz gdb-27229e99915e0a4bed28d2a9428a73c34df99415.tar.bz2 |
* tui-out.c (tui_out_new): Clear start_of_line.
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines
to update the current source line.
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); } } |