Bug fix on SetAnimationType range checking error.
authorSeungWon Lee <lsw2000.lee@samsung.com>
Mon, 8 Jul 2013 07:58:30 +0000 (16:58 +0900)
committerSeungWon Lee <lsw2000.lee@samsung.com>
Mon, 8 Jul 2013 07:58:30 +0000 (16:58 +0900)
Change-Id: If259bb92d5fd90005fcbe6081746190155ebc980
Signed-off-by: SeungWon Lee <lsw2000.lee@samsung.com>
src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp

index 6dae57b..35faafe 100644 (file)
@@ -141,7 +141,7 @@ _SceneTransitionImpl::GetDestinationSceneId(void) const
 result
 _SceneTransitionImpl::SetAnimationType(SceneTransitionAnimationType animationType)
 {
-       SysTryReturnResult(NID_UI_SCENES, (SCENE_TRANSITION_ANIMATION_TYPE_LEFT <= animationType &&
+       SysTryReturnResult(NID_UI_SCENES, (SCENE_TRANSITION_ANIMATION_TYPE_NONE <= animationType &&
                                          animationType <= SCENE_TRANSITION_ANIMATION_TYPE_DEPTH_OUT),
                                          E_INVALID_ARG, "Invalid argument is used.");
        __animationType = animationType;