[Editfield] when text is NULL then _entry_empty should return EINA_TRUE
authorWooHyun Jung <wh0705.jung@samsung.com>
Fri, 23 Sep 2011 08:31:08 +0000 (17:31 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Fri, 23 Sep 2011 08:31:08 +0000 (17:31 +0900)
src/lib/elm_editfield.c

index fb21e81..bfd8270 100644 (file)
@@ -189,7 +189,7 @@ _empty_entry(Evas_Object *entry)
    int len = 0;
 
    text = elm_entry_entry_get(entry);
-   if(!text) return EINA_FALSE;
+   if(!text) return EINA_TRUE;
    strip_text = elm_entry_markup_to_utf8(text);
    if (strip_text) {
         len = strlen(strip_text);