From: ailin-nemui Date: Mon, 20 Nov 2017 10:40:40 +0000 (+0100) Subject: Update sb_search.pl X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ad8585908bc44001a6dbed541e1e7ad00a630d63;p=irssi-scripts.irssi.org.git Update sb_search.pl another fix by vague --- diff --git a/scripts/sb_search.pl b/scripts/sb_search.pl index a2f0e14..9ad8cdd 100644 --- a/scripts/sb_search.pl +++ b/scripts/sb_search.pl @@ -132,7 +132,7 @@ sub cmd_sb_search { } else { # last line $line = $view->{buffer}{cur_line}; } - } else { # line after or before first visible line + } elsif ($view->{startline}) { # line after or before first visible line $line = $forward ? $view->{startline}->next : $view->{startline}->prev; }