diff options
Diffstat (limited to 'perl-install')
-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 b84b5731e..4bbb2fad1 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -71,7 +71,7 @@ sub to_string { my ($resolution) = @_; $resolution or return; - sprintf("%sx%s %dbpp", @$resolution{'X', 'Y', 'Depth'}); + $resolution->{X} ? sprintf("%sx%s %dbpp", @$resolution{'X', 'Y', 'Depth'}) : 'frame-buffer'; } sub allowed { |