From e4dbde31edd19e2f4c2b6c91117ee91e2f83ddd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sat, 28 Mar 2015 13:53:30 +0100 Subject: [PATCH] Small alignment adjustments --- url-select | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/url-select b/url-select index 46440ec..dc80496 100644 --- a/url-select +++ b/url-select @@ -101,8 +101,8 @@ sub line_update { # clear all underlines that were set by us for (@$rend) { if (urxvt::GET_CUSTOM($_) & UNDERLINED) { - $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) - & ~UNDERLINED) & ~urxvt::RS_Uline; + $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) & ~UNDERLINED) & + ~urxvt::RS_Uline; } } @@ -113,8 +113,7 @@ sub line_update { for (@{$rend}[$beg .. $end]) { unless ($_ & urxvt::RS_Uline) { - $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) - | UNDERLINED); + $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) | UNDERLINED); $_ |= urxvt::RS_Uline; } } @@ -255,7 +254,7 @@ sub select_next { } while (($dir < 0 && $row > $self->top_row) || - ($dir > 0 && $row < $self->nrow - 1)) { + ($dir > 0 && $row < $self->nrow - 1)) { my $line = $self->line($row); $row = ($dir < 0 ? $line->beg : $line->end) + $dir; $line = $self->line($row);