aboutsummaryrefslogtreecommitdiff
path: root/urxvt/ext
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:36:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:36:12 +1200
commitc5f77eedb06ca421b02da539cbe132d1b540e88e (patch)
tree907812bfa3be2a1dc43a0c39f0c55fec8201099d /urxvt/ext
parentca4890ca7d83a9e5fec531f14f72a04dd0bb7893 (diff)
downloaddotfiles-c5f77eedb06ca421b02da539cbe132d1b540e88e.tar.gz
dotfiles-c5f77eedb06ca421b02da539cbe132d1b540e88e.zip
Fix double-sigil deref
Diffstat (limited to 'urxvt/ext')
-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;