diff options
Diffstat (limited to 'urxvt/ext/selection')
-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; |