diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c index 582762f7b2..317c58f0b2 100644 --- a/src/lib/elementary/elm_entry.c +++ b/src/lib/elementary/elm_entry.c @@ -3365,7 +3365,7 @@ _elm_entry_text_set(Eo *obj, Elm_Entry_Data *sd, const char *part, const char *e /* If old and new text are the same do nothing */ current_text = edje_object_part_text_get(sd->entry_edje, "elm.text"); - if (current_text == entry || !strcmp(entry, current_text)) + if (eina_streq(current_text, entry)) goto done; ELM_SAFE_FREE(sd->text, eina_stringshare_del);