Break away if we already found a matching state
authorsachiel <sachiel>
Fri, 11 Nov 2011 00:43:23 +0000 (00:43 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 11 Nov 2011 00:43:23 +0000 (00:43 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65035 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_handlers.c

index aa54821..88f5b6b 100644 (file)
@@ -4452,6 +4452,7 @@ st_collections_group_parts_part_description_state(void)
                        ep->other.desc = realloc(ep->other.desc,
                                                 sizeof (Edje_Part_Description_Common*) * ep->other.desc_count);
                        current_desc = ep->other.desc[i];
+                       break;
                     }
                }
           }