Round off the DVD size in blocks

This commit is contained in:
Steve McIntyre 2006-12-10 22:23:51 +00:00
parent cf079be95b
commit 52d0a9f08b
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ if ($disktype eq "BC") {
$maxdiskblocks = int(737 * $MB / $blocksize);
$diskdesc = "700MiB CD";
} elsif ($disktype eq "DVD") {
$maxdiskblocks = (4700 * $MB / $blocksize);
$maxdiskblocks = int(4700 * $MB / $blocksize);
$diskdesc = "4.7GB CD";
} elsif ($disktype eq "CUSTOM") {
$maxdiskblocks = $ENV{'CUSTOMSIZE'} || die "Need to specify a custom size for the CUSTOM disktype\n";