Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
matcher.pattern. starts from 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ramok authored and xyb3rt committed May 24, 2014
1 parent 5419db7 commit 25c42de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions url-select
Expand Up @@ -62,8 +62,8 @@ sub on_start {

if ($self->x_resource('matcher.pattern')) {
@{$self->{pattern}} = ($self->x_resource('matcher.pattern'));
} elsif ($self->x_resource('matcher.pattern.1')) {
my $current = 1;
} elsif ($self->x_resource('matcher.pattern.0')) {
my $current = 0;

while (defined (my $res = $self->x_resource("matcher.pattern.$current"))) {
$res = $self->locale_decode($res);
Expand Down

0 comments on commit 25c42de

Please sign in to comment.