1
0
Fork 0

Minor cleanup

pull/661/head
Jordi Boggiano 2012-05-12 09:49:18 +02:00
parent 1495f9dfe0
commit 4ecf55e180
1 changed files with 2 additions and 2 deletions

View File

@ -84,10 +84,10 @@ EOT
$packages[$package->getName()] = array(
'name' => $name,
'description' => strtok($package->getDescription(), "\r\n"),
'length' => strlen($package->getPrettyName())
'length' => $length = strlen($package->getPrettyName())
);
$maxPackageLength = max($maxPackageLength, strlen($package->getPrettyName()));
$maxPackageLength = max($maxPackageLength, $length);
continue 2;
}