summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-09 15:10:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-09 15:10:16 +0000
commitcba686c804795bfe91e431c09ba1b5272f88dfcf (patch)
tree6d760e4503df861db9162d89a4f90f921b72a343
parent50bb4c1fca6385b610849889a5851452f3483a43 (diff)
downloaddrakx-cba686c804795bfe91e431c09ba1b5272f88dfcf.tar
drakx-cba686c804795bfe91e431c09ba1b5272f88dfcf.tar.gz
drakx-cba686c804795bfe91e431c09ba1b5272f88dfcf.tar.bz2
drakx-cba686c804795bfe91e431c09ba1b5272f88dfcf.tar.xz
drakx-cba686c804795bfe91e431c09ba1b5272f88dfcf.zip
better that way
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index d490a32a2..a2eb65107 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -558,7 +558,7 @@ sub ask_fromW {
my @formatted_list = map { may_apply($e->{format}, $_) } @{$e->{list}};
$e->{formatted_list} = \@formatted_list;
- my $sep = "\\" . $e->{separator};
+ my $sep = quotemeta $e->{separator};
my @flat_formatted_list = $e->{separator} ? map { top(split($sep, $_)) } @formatted_list : @formatted_list;
my @l = sort { $b <=> $a } map { length } @formatted_list;