revert unneeded change

This commit is contained in:
Sebijk 2022-02-13 23:19:15 +01:00
parent b210ad9dd2
commit 3f21950bce

View file

@ -149,7 +149,7 @@ class BMCaptchaGenerator
$x_mtrand = mt_rand(($xArea/2)*-1, $xArea/2);
}
$x = max($this->borderSpacing, $this->borderSpacing *2 + $i*$this->letterW
$x = max($this->borderSpacing, $this->borderSpacing + $i*$this->letterW
+ $x_mtrand);
$y = ($this->h-2*$this->borderSpacing)/2 - $h/2
+ @mt_rand(($yArea/2)*-1, $yArea/2);