diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-19 11:38:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-19 11:38:18 +1200 |
commit | 0466a1e52a47bd955e157dbfe19d4199f3a60d43 (patch) | |
tree | c12bc2c0731b2eacad273a8aecdbc84ff7b6278f /urxvt | |
parent | Fix double-sigil deref (diff) | |
download | dotfiles-0466a1e52a47bd955e157dbfe19d4199f3a60d43.tar.gz dotfiles-0466a1e52a47bd955e157dbfe19d4199f3a60d43.zip |
Ignore well-meaning -before- critique
Diffstat (limited to 'urxvt')
-rw-r--r-- | urxvt/ext/selection | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/urxvt/ext/selection b/urxvt/ext/selection index be787ca6..edc1a1bb 100644 --- a/urxvt/ext/selection +++ b/urxvt/ext/selection @@ -65,7 +65,8 @@ sub on_sel_extend { # whole line push @matches, [ 0, ( $line->end - $line->beg + 1 ) * $self->ncol ]; - for ( sort { $a->[1] <=> $b->[1] or $b->[0] <=> $a->[0] } @matches ) { + for ( sort { $a->[1] <=> $b->[1] or $b->[0] <=> $a->[0] } @matches ) + { ## no critic (ProhibitReverseSortBlock) my ( $ofs, $len ) = @{$_}; next if $len <= $curlen; |