diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-11-21 16:19:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-11-21 16:19:33 +0000 |
commit | f8f171cf51e78ade1e41b895127a4abd916435da (patch) | |
tree | a7a84de3aab5799da267cb583f9dcde6cbe2a385 /lib/Xconfig | |
parent | 85bcf75b94e0777e878180d68b7bb19d01c3a35f (diff) | |
download | drakx-kbd-mouse-x11-f8f171cf51e78ade1e41b895127a4abd916435da.tar drakx-kbd-mouse-x11-f8f171cf51e78ade1e41b895127a4abd916435da.tar.gz drakx-kbd-mouse-x11-f8f171cf51e78ade1e41b895127a4abd916435da.tar.bz2 drakx-kbd-mouse-x11-f8f171cf51e78ade1e41b895127a4abd916435da.tar.xz drakx-kbd-mouse-x11-f8f171cf51e78ade1e41b895127a4abd916435da.zip |
if {resolution_wanted} is not set in auto_install, don't have
{ 'X' => undef, 'Depth' => undef, 'Y' => undef } as the $resolution_wanted
Diffstat (limited to 'lib/Xconfig')
-rw-r--r-- | lib/Xconfig/resolution_and_depth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index f688fce..09bc74b 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -224,7 +224,7 @@ sub configure_auto_install { if ($old_X->{resolution_wanted} eq 'automatic') { $default_resolution = { automatic => 1 }; } else { - my $resolution_wanted = do { + my $resolution_wanted = $old_X->{resolution_wanted} && do { my ($X, $Y) = split('x', $old_X->{resolution_wanted}); { X => $X, Y => $Y, Depth => $old_X->{default_depth} }; }; |