url-select: nicer splitting of urlLauncher value

This commit is contained in:
Bert 2011-04-23 15:32:34 +02:00
parent e1141ccb01
commit ef4343a85c

View File

@ -38,7 +38,7 @@ sub on_start {
# read resource settings
if ($self->x_resource('urlLauncher')) {
@{$self->{browser}} = split " ", $self->x_resource('urlLauncher');
@{$self->{browser}} = split /\s+/, $self->x_resource('urlLauncher');
} else {
@{$self->{browser}} = ('x-www-browser');
}