aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--urxvt/ext/selection2
1 files changed, 1 insertions, 1 deletions
diff --git a/urxvt/ext/selection b/urxvt/ext/selection
index d465d326..be787ca6 100644
--- a/urxvt/ext/selection
+++ b/urxvt/ext/selection
@@ -66,7 +66,7 @@ sub on_sel_extend {
push @matches, [ 0, ( $line->end - $line->beg + 1 ) * $self->ncol ];
for ( sort { $a->[1] <=> $b->[1] or $b->[0] <=> $a->[0] } @matches ) {
- my ( $ofs, $len ) = @$_;
+ my ( $ofs, $len ) = @{$_};
next if $len <= $curlen;