diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Xconfig/monitor.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm index 6de16fe8c..76fc6e13e 100644 --- a/perl-install/Xconfig/monitor.pm +++ b/perl-install/Xconfig/monitor.pm @@ -176,7 +176,7 @@ sub getinfoFromDDC() { local $_; while (($_ = shift @l) ne "\n") { my ($depth, $x, $y) = split; - $depth = int(log($depth) / log(2)); + $depth = int(log($depth) / log(2)) if $depth; push @Modes, [ $x, $y, $depth ]; } |