summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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 || {});
}