diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-19 11:36:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-19 11:36:12 +1200 |
commit | c5f77eedb06ca421b02da539cbe132d1b540e88e (patch) | |
tree | 907812bfa3be2a1dc43a0c39f0c55fec8201099d | |
parent | Use english over punc vars (diff) | |
download | dotfiles-c5f77eedb06ca421b02da539cbe132d1b540e88e.tar.gz dotfiles-c5f77eedb06ca421b02da539cbe132d1b540e88e.zip |
Fix double-sigil deref
-rw-r--r-- | urxvt/ext/selection | 2 |
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; |