Fixed Svace issue - 144290 87/126087/2 accepted/tizen/unified/20170420.155727 submit/tizen/20170420.085049
authorHyerim Kim <rimi.kim@samsung.com>
Thu, 20 Apr 2017 05:34:34 +0000 (14:34 +0900)
committerHyerim Kim <rimi.kim@samsung.com>
Thu, 20 Apr 2017 05:43:02 +0000 (14:43 +0900)
Change-Id: Ifa2a2c06ad7108c86288577c3095df189d4ef84c
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
src/view/view_user_edit.c

index 4e42bae..6ed9983 100755 (executable)
@@ -361,7 +361,7 @@ static void _add_icon_list(struct _priv *priv)
        }
        elm_ctxpopup_horizontal_set(ctxpopup, EINA_TRUE);
        elm_ctxpopup_auto_hide_disabled_set(ctxpopup, EINA_TRUE);
-       evas_object_resize(ctxpopup, 812,348);
+       evas_object_resize(ctxpopup, 812, 348);
        evas_object_smart_callback_add(ctxpopup, "dismissed", _dismissed, priv);
 
        ly = utils_add_layout(ctxpopup, GRP_USER_EDIT_ICON_LIST, false, NULL);
@@ -417,7 +417,7 @@ static void _entry_text_changed_cb(void *data, Evas_Object *obj, void *event_inf
        int length = strlen(text);
        char temp[2] = {0, };
 
-       if (text != NULL && length > 0) {
+       if (length > 0) {
                strncpy(temp, text, 1);
                temp[1] = '\0';
        } else {