X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=platform-abstractions%2Fportable%2Fimage-operations.cpp;h=e9a94cc4b3606e86c4e5c595d3cdaaab09d48113;hb=29700e5d950c37672475098e30b946aadcdfb86b;hp=2c5da3b13e06812cee35c0e21ddc61276e114072;hpb=d37b710c0b9d0fb581bda72178d8dd17a735643c;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/platform-abstractions/portable/image-operations.cpp b/platform-abstractions/portable/image-operations.cpp index 2c5da3b..e9a94cc 100644 --- a/platform-abstractions/portable/image-operations.cpp +++ b/platform-abstractions/portable/image-operations.cpp @@ -475,7 +475,7 @@ ImageDimensions CalculateDesiredDimensions( unsigned int bitmapWidth, unsigned i // If both dimensions have values requested, use them both: if( requestedWidth != 0 && requestedHeight != 0 ) { - if( requestedWidth <= maxSize && requestedWidth <= maxSize ) + if( requestedWidth <= maxSize && requestedHeight <= maxSize ) { return ImageDimensions( requestedWidth, requestedHeight ); }