aboutsummaryrefslogtreecommitdiff
path: root/reselect
diff options
context:
space:
mode:
Diffstat (limited to 'reselect')
-rw-r--r--reselect8
1 files changed, 4 insertions, 4 deletions
diff --git a/reselect b/reselect
index d0f9af1..9e1c4f5 100644
--- a/reselect
+++ b/reselect
@@ -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),