- TSAM-9656, TSAM-9657, TSAM-9651, TSAM-9652
Change-Id: I73ace08c918eec0f49b487e9fc414cb7317b5f28
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
static void _entry_text_changed_cb(void *data, Evas_Object *obj, void *event_info)
{
const char *text = elm_entry_entry_get(obj);
+ if (!text)
+ return;
+
char temp_buffer[1024] = {0, };
int length = strlen(text);
char temp[2] = {0, };
- if (text != NULL && length > 0) {
+ if (length > 0) {
strncpy(temp, text, 1);
temp[1] = '\0';
} else {
- _DBG("text is null or length is 0");
+ _DBG("length is 0");
return;
}