raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d2dcd875acb59916798a95ab6a945dde19fde826

commit d2dcd875acb59916798a95ab6a945dde19fde826
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Nov 8 17:42:34 2013 +0900

    clean up previous commit with simple continues on invalid name
---
 src/lib/edje/edje_entry.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 9b7d959..566bd23 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -2830,8 +2830,7 @@ _edje_entry_anchor_geometry_get(Edje_Real_Part *rp, const 
char *anchor)
    EINA_LIST_FOREACH(en->anchors, l, an)
      {
         const char *n = an->name;
-        if (an->item) continue;
-        if (!n) n = "";
+        if ((an->item) || (!n)) continue;
         if (!strcmp(anchor, n))
           return an->sel;
      }
@@ -2854,8 +2853,7 @@ _edje_entry_anchors_list(Edje_Real_Part *rp)
         EINA_LIST_FOREACH(en->anchors, l, an)
           {
              const char *n = an->name;
-             if (an->item) continue;
-             if (!n) n = "";
+             if ((an->item) || (!n)) continue;
              anchors = eina_list_append(anchors, strdup(n));
           }
         en->anchorlist = anchors;

-- 


Reply via email to