Fix empty return key string issue 69/78769/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 6 Jul 2016 23:52:41 +0000 (08:52 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 6 Jul 2016 23:52:41 +0000 (08:52 +0900)
Change-Id: I71b3d016ec349c1b5798edbd1b397a2801936630

src/ise.cpp

index 313061d..3fbd9a7 100644 (file)
@@ -1447,7 +1447,11 @@ void ise_set_return_key_type(unsigned int type)
     case ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN:
         snprintf(buf, BUF_LEN, ISE_RETURN_KEY_LABEL_SIGNIN);
         break;
+    case ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT:
+        break;
     default:
+        LOGW("Unknown return key type : %d\n", type);
+        type = ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
         break;
     }