From c292e232ff98ac98b90dca71551af712339a6be6 Mon Sep 17 00:00:00 2001 From: Abhishek Sansanwal Date: Wed, 8 Aug 2018 12:04:00 +0530 Subject: [PATCH] Fix for WGID:342449 Description: There is no need to call elm_entry_markup_to_utf8 because the default value "255" is being set into the entry field. Signed-off-by: Abhishek Sansanwal Change-Id: I1f5553e248d7e49f935d6ae32f78fbce970dcdbc --- src/view/view_new_network.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/view/view_new_network.c b/src/view/view_new_network.c index b2f20f0..6944e14 100755 --- a/src/view/view_new_network.c +++ b/src/view/view_new_network.c @@ -683,11 +683,8 @@ static void _markup_cb(void *data, Evas_Object *entry, char **text) free(*text); *text = NULL; - tmp = elm_entry_markup_to_utf8(buf); - snprintf(tmp, 4 * sizeof(char), "%d", 255); - elm_entry_entry_set(entry, tmp); + elm_entry_entry_set(entry, "255"); set_focus_next_octet(priv, entry); - free(tmp); return; } } -- 2.7.4