- Expression 'orientation >= Dali::Window::PORTRAIT' is always true.
Change-Id: I813082a5a490ce84addcf05d4ea46bfc3814968f
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
{
bool found = false;
- if ((orientation >= Dali::Window::PORTRAIT) && (orientation <= Dali::Window::LANDSCAPE_INVERSE))
+ if ( orientation <= Dali::Window::LANDSCAPE_INVERSE )
{
- for( std::size_t i=0; i<mAvailableOrientations.size(); i++ )
+ for( std::size_t i = 0; i < mAvailableOrientations.size(); i++ )
{
- if(mAvailableOrientations[i] == orientation)
+ if( mAvailableOrientations[i] == orientation )
{
found = true;
break;