summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-22 14:02:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-22 14:02:03 +0000
commitb90c152fd97b74858a8dc01e8f6839bd4cbdcac0 (patch)
tree64fb76a8e8b883a973c0e5d350e32f070301bc68
parentaf17be68f8c8bc2666d09cd62e3e14cb38f1272d (diff)
downloaddrakx-backup-do-not-use-b90c152fd97b74858a8dc01e8f6839bd4cbdcac0.tar
drakx-backup-do-not-use-b90c152fd97b74858a8dc01e8f6839bd4cbdcac0.tar.gz
drakx-backup-do-not-use-b90c152fd97b74858a8dc01e8f6839bd4cbdcac0.tar.bz2
drakx-backup-do-not-use-b90c152fd97b74858a8dc01e8f6839bd4cbdcac0.tar.xz
drakx-backup-do-not-use-b90c152fd97b74858a8dc01e8f6839bd4cbdcac0.zip
remove duplicate (use existing function to_string())
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index ecb674f52..4dd830a22 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -134,7 +134,7 @@ sub choose {
[ {
val => \$resolution, type => 'list', sort => 0,
list => [ sort { $a->{X} <=> $b->{X} } @resolutions ],
- format => sub { "$_[0]{X}x$_[0]{Y} $_[0]{Depth}bpp" },
+ format => \&to_string,
} ]) or return;
$resolution;
}