summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Xconfig/xfree.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index f6d6c715b..edb20fc09 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -304,7 +304,7 @@ sub add_gtf_ModeLines {
my $banner = 'modeline generated by gtf(1) [handled by XFdrake]';
my $res = $resolution->{X} . 'x' . $resolution->{Y};
my @to_add;
- if ($resolution2ratio{$res} ne '4/3') {
+ if ($Xconfig::xfree::resolution2ratio{$res} ne '4/3') {
@to_add = map {
my $s = run_program::rooted_get_stdout($::prefix, 'gtf', $resolution->{X}, $resolution->{Y}, $_);
my ($name, $val) = $s =~ /ModeLine\s*"(.*)"(.*)/i;
@@ -568,7 +568,7 @@ our %ratio2resolutions = (
N_("_:weird aspect ratio\nother") => [
# 2.13 = 32/15
- qw(1024x480), # VAIO
+ qw(1024x480 1280x600), # VAIO
# 2.67 = 8/3
qw(2048x768 2560x960 3200x1200),