git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/edje-1.7@78743
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Fix edje_cc to use max compression, not default compression.
+2012-10-31 ChunEon Park (Hermet)
+
+ * Fix to update the text classes when text classes are changed.
Fixes:
* fix scale_set with edje containing boxes and/or tables
* fix edje_cc to use max, not default compression
+ * fix edje_text_class_set to update the text classes correctly.
Edje 1.7.1
else
{
/* Match and the same, return */
- if ((tc->size == size) ||
- (tc->font == font) ||
- (tc->font && font && !strcmp(tc->font, font)))
- return EINA_TRUE;
+ if (((tc->font && font) && !strcmp(tc->font, font)) &&
+ (tc->size == size))
+ return EINA_TRUE;
/* Update the class found */
eina_stringshare_replace(&tc->font, font);