Fixed typo in ImageView::GetNaturalSize(). 14/50114/1
authorChu Hoang <c.hoang@samsung.com>
Fri, 23 Oct 2015 15:03:12 +0000 (16:03 +0100)
committerChu Hoang <c.hoang@samsung.com>
Fri, 23 Oct 2015 15:03:12 +0000 (16:03 +0100)
Change-Id: I28621277e343e7159cf2ed023957965d830d586a

dali-toolkit/internal/controls/image-view/image-view-impl.cpp

index 691f932..2cb24bb 100644 (file)
@@ -173,7 +173,7 @@ Vector3 ImageView::GetNaturalSize()
   size.y = mImageSize.GetHeight();
   size.z = std::min(size.x, size.y);
 
-  if( size.x > 0 && size.x > 0 )
+  if( size.x > 0 && size.y > 0 )
   {
     return size;
   }