From 11eff55e701467ea029ec69f57665ca23547361b Mon Sep 17 00:00:00 2001 From: SeungWon Lee Date: Mon, 8 Jul 2013 16:58:30 +0900 Subject: [PATCH] Bug fix on SetAnimationType range checking error. Change-Id: If259bb92d5fd90005fcbe6081746190155ebc980 Signed-off-by: SeungWon Lee --- src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp b/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp index 6dae57b..35faafe 100644 --- a/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp +++ b/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp @@ -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; -- 2.7.4