Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3218fc42 authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

cmfm: fix build



Change-Id: Ie623ea56bd9ea49a3a13e0bd95a8e52ef3b0bae4
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent a2e8778c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -514,8 +514,8 @@ public final class PrintActionPolicy extends ActionsPolicy {
                Matrix matrix = new Matrix();

                // Compute and apply scale to fill the page.
                int widthRatio = content.width() / imageWidth;
                int heightRatio = content.height() / imageHeight;
                float widthRatio = content.width() / imageWidth;
                float heightRatio = content.height() / imageHeight;
                float scale = Math.max(widthRatio, heightRatio);
                matrix.postScale(scale, scale);