diff options
author | Turneliusz <turneliusz@gmail.com> | 2012-11-20 13:41:20 +0100 |
---|---|---|
committer | Turneliusz <turneliusz@gmail.com> | 2012-11-20 13:41:20 +0100 |
commit | 20661a37f03dee2b8d6337e2116cdfc28db62487 (patch) | |
tree | c947f3c194a55609963b8cef4dea18a7a4045c88 | |
parent | 6288ef205136b3a30dd5e4b582dc27aa993c9b4c (diff) | |
download | ImageWorkshop-20661a37f03dee2b8d6337e2116cdfc28db62487.zip ImageWorkshop-20661a37f03dee2b8d6337e2116cdfc28db62487.tar.gz ImageWorkshop-20661a37f03dee2b8d6337e2116cdfc28db62487.tar.bz2 |
Fixing misspeled "percent" unit in `pasteImage()`
-rwxr-xr-x | src/PHPImageWorkshop/ImageWorkshop.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PHPImageWorkshop/ImageWorkshop.php b/src/PHPImageWorkshop/ImageWorkshop.php index 332af85..89bcac9 100755 --- a/src/PHPImageWorkshop/ImageWorkshop.php +++ b/src/PHPImageWorkshop/ImageWorkshop.php @@ -249,7 +249,7 @@ class ImageWorkshop */
public function pasteImage($unit = "pixel", $image, $positionX = 0, $positionY = 0)
{
- if ($unit == "pourcent") {
+ if ($unit == "percent") {
$positionX = round(($positionX / 100) * $this->width);
$positionY = round(($positionY / 100) * $this->height);
|