diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 10:58:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 10:58:25 +0000 |
commit | 102cb31b26ba36f59aec876c6513ef4ec6c03fb7 (patch) | |
tree | 9d0b1ec47a9804ab2a489d6cf40cecb120c7c34a | |
parent | 1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb (diff) | |
download | drakx-102cb31b26ba36f59aec876c6513ef4ec6c03fb7.tar drakx-102cb31b26ba36f59aec876c6513ef4ec6c03fb7.tar.gz drakx-102cb31b26ba36f59aec876c6513ef4ec6c03fb7.tar.bz2 drakx-102cb31b26ba36f59aec876c6513ef4ec6c03fb7.tar.xz drakx-102cb31b26ba36f59aec876c6513ef4ec6c03fb7.zip |
fix using $_ instead of $_[0] (thanks to perl_checker)
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 2 |
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 f78509e01..75639d9d0 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -119,7 +119,7 @@ sub choose { my ($in, $default_resolution, @resolutions) = @_; $in->ask_from_listf(_("Resolutions"), "", - sub { "$_->{X}x$_->{Y} $_->{Depth}bpp" }, + sub { "$_[0]{X}x$_[0]{Y} $_[0]{Depth}bpp" }, \@resolutions, $default_resolution || {}); } |