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

Commit 073c3f09 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Copy-Paste bug in IconUtilities" into jellybean

parents a3d1292a 9410cd76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ final class IconUtilities {
        int sourceWidth = icon.getIntrinsicWidth();
        int sourceHeight = icon.getIntrinsicHeight();

        if (sourceWidth > 0 && sourceWidth > 0) {
        if (sourceWidth > 0 && sourceHeight > 0) {
            // There are intrinsic sizes.
            if (width < sourceWidth || height < sourceHeight) {
                // It's too big, scale it down.