diff --git a/url-select b/url-select index bb1e047..7983800 100644 --- a/url-select +++ b/url-select @@ -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);