forked from enlightenment/efl
edje/text - update text classes correctly if they are changed.
SVN revision: 78741
This commit is contained in:
parent
e12b7f2477
commit
3a99b1234e
|
@ -667,4 +667,7 @@
|
|||
2012-10-31 Carsten Haitzler (The Rasterman)
|
||||
|
||||
* 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.
|
||||
|
|
|
@ -26,6 +26,7 @@ Fixes:
|
|||
* fix scale_set with edje containing boxes and/or tables
|
||||
* fix scale_set with edje containing groups
|
||||
* fix edje_cc to use max, not default compression
|
||||
* fix edje_text_class_set to update the text classes correctly.
|
||||
|
||||
|
||||
Edje 1.7.0
|
||||
|
|
|
@ -964,9 +964,8 @@ edje_text_class_set(const char *text_class, const char *font, Evas_Font_Size siz
|
|||
else
|
||||
{
|
||||
/* Match and the same, return */
|
||||
if ((tc->size == size) ||
|
||||
(tc->font == font) ||
|
||||
(tc->font && font && !strcmp(tc->font, font)))
|
||||
if (((tc->font && font) && !strcmp(tc->font, font)) &&
|
||||
(tc->size == size))
|
||||
return EINA_TRUE;
|
||||
|
||||
/* Update the class found */
|
||||
|
|
Loading…
Reference in New Issue