Evas textblock: Fixed colour setting for textblock formats.

Of course Cedric introduced a bug. The bug was that the current colour context
is set to the previously selected colour, instead of the current one, which
made all colours wrong.

Fixes T926.
This commit is contained in:
Tom Hacohen 2014-02-10 16:49:51 +00:00
parent 80033e022d
commit 650b0b6c64
1 changed files with 1 additions and 1 deletions

View File

@ -10816,7 +10816,7 @@ evas_object_textblock_render(Evas_Object *eo_obj EINA_UNUSED,
if (na != ca || nb != cb || ng != cg || nr != cr) \
{ \
ENFN->context_color_set(output, context, \
cr / 255, cg / 255, cb / 255, ca / 255); \
nr / 255, ng / 255, nb / 255, na / 255); \
cr = nr; cg = ng; cb = nb; ca = na; \
} \
ENFN->rectangle_draw(output, \