coding guidelines: indentation is made of spaces, not tabs

git-svn-id: http://piwigo.org/svn/trunk@13882 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2012-04-03 20:58:14 +00:00
parent 4654f707e0
commit c137a52c15

View file

@ -290,8 +290,7 @@ class pwg_image
// Amount should be in the range of 28-10 // Amount should be in the range of 28-10
$amount = round(abs(-28 + ($amount * 0.18)), 2); $amount = round(abs(-28 + ($amount * 0.18)), 2);
$matrix = array $matrix = array(
(
array(-1, -1, -1), array(-1, -1, -1),
array(-1, $amount, -1), array(-1, $amount, -1),
array(-1, -1, -1), array(-1, -1, -1),
@ -303,8 +302,10 @@ class pwg_image
{ {
$line = & $matrix[$i]; $line = & $matrix[$i];
for ($j=0; $j<3; $j++) for ($j=0; $j<3; $j++)
{
$line[$j] /= $norm; $line[$j] /= $norm;
} }
}
return $matrix; return $matrix;
} }