--- rxvt-unicode/src/perl/matcher 2014/06/15 11:38:00 1.27 +++ rxvt-unicode/src/perl/matcher 2014/06/15 21:06:53 1.29 @@ -7,7 +7,7 @@ #:META:RESOURCE:%.button:string:the button, yeah #:META:RESOURCE:%.pattern.:string:extra pattern to match #:META:RESOURCE:%.launcher.:string:custom launcher for pattern -#:META:RESOURCE:%.rend.:string:custom rednition for pattern +#:META:RESOURCE:%.rend.:string:custom rendition for pattern =head1 NAME @@ -257,7 +257,7 @@ my ($self, $row, $col) = @_; my $line = $self->line ($row); my $text = $line->t; - my $off = $line->offset_of ($row, $col) if $col; + my $off = $line->offset_of ($row, $col) if defined $col; my @matches; for my $matcher (@{$self->{matchers}}) {