Skip to content

Commit

Permalink
TexyImageModule: removed obsolete $ratio variable
Browse files Browse the repository at this point in the history
  • Loading branch information
uestla committed Jul 26, 2014
1 parent 8213d36 commit c0631e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Texy/modules/TexyImageModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ public function solve($invocation, TexyImage $image, $link)
$image->height = round($ratio * $size[1]);

} elseif (is_int($image->width)) {
$ratio = round($size[1] / $size[0] * $image->width);
$image->height = round($size[1] / $size[0] * $image->width);

} elseif (is_int($image->height)) {
Expand Down

0 comments on commit c0631e7

Please sign in to comment.