aboutsummaryrefslogtreecommitdiff
path: root/urxvt/ext
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:38:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:38:18 +1200
commit0466a1e52a47bd955e157dbfe19d4199f3a60d43 (patch)
treec12bc2c0731b2eacad273a8aecdbc84ff7b6278f /urxvt/ext
parentc5f77eedb06ca421b02da539cbe132d1b540e88e (diff)
downloaddotfiles-0466a1e52a47bd955e157dbfe19d4199f3a60d43.tar.gz
dotfiles-0466a1e52a47bd955e157dbfe19d4199f3a60d43.zip
Ignore well-meaning -before- critique
Diffstat (limited to 'urxvt/ext')
-rw-r--r--urxvt/ext/selection3
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;