diff options
Diffstat (limited to 'reselect')
-rw-r--r-- | reselect | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -77,14 +77,14 @@ sub build_overlays { my $label_rend = $self->get_rend("label", urxvt::OVERLAY_RSTYLE); - my @overlays = find_matches($pattern, $text, $rowmap); - @overlays = reverse @overlays if ($self->{descending}); + my @matches = find_matches($pattern, $text, $rowmap); + @matches = reverse @matches if ($self->{descending}); my $results = {}; my $hints = hint_iterator(); - for my $ov (@overlays) { - my ($col, $row, $match) = @$ov; + for my $m (@matches) { + my ($col, $row, $match) = @$m; my $hint = $hints->(); my $overlay = $self->overlay($col, $row, $self->strwidth($hint), |