diff options
author | delphij <delphij@FreeBSD.org> | 2007-06-21 10:42:55 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-06-21 10:42:55 +0000 |
commit | bb6dbdf2f382ed564a935433f1553a0c588e0f5f (patch) | |
tree | 9b5ee02031fe0fca0fb931dda88350d289afe238 /contrib/less/search.c | |
parent | 7672cb6e48e2ed472cbd72caaa0eb155608a644d (diff) | |
download | FreeBSD-src-bb6dbdf2f382ed564a935433f1553a0c588e0f5f.zip FreeBSD-src-bb6dbdf2f382ed564a935433f1553a0c588e0f5f.tar.gz |
Virgin import of less v406.
Approved by: re (hrs)
Diffstat (limited to 'contrib/less/search.c')
-rw-r--r-- | contrib/less/search.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/less/search.c b/contrib/less/search.c index e098578..380d278 100644 --- a/contrib/less/search.c +++ b/contrib/less/search.c @@ -292,6 +292,7 @@ clear_attn() POSITION old_end_attnpos; POSITION pos; POSITION epos; + int moved = 0; if (start_attnpos == NULL_POSITION) return; @@ -319,8 +320,11 @@ clear_attn() (void) forw_line(pos); goto_line(slinenum); put_line(); + moved = 1; } } + if (moved) + lower_left(); } #endif |