From c5f77eedb06ca421b02da539cbe132d1b540e88e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 19 Jun 2016 11:36:12 +1200 Subject: Fix double-sigil deref --- urxvt/ext/selection | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3