Reverting the previous commit, dont fix properly.
authortiago <tiago@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 5 Mar 2010 18:22:17 +0000 (18:22 +0000)
committertiago <tiago@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 5 Mar 2010 18:22:17 +0000 (18:22 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46894 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_calc.c

index a7db75b..0274ae2 100644 (file)
@@ -1329,7 +1329,7 @@ _edje_part_recalc_single(Edje *ed,
      _edje_part_recalc_single_fill(ep, desc, params, flags);
 
    /* colors */
-   if (desc->color_class)
+   if ((desc->color_class) && (*desc->color_class))
      cc = _edje_color_class_find(ed, desc->color_class);
 
    if (cc)