tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=650b0b6c6483e4b877abf1920dcc711b3b7048c6

commit 650b0b6c6483e4b877abf1920dcc711b3b7048c6
Author: Tom Hacohen <[email protected]>
Date:   Mon Feb 10 16:49:51 2014 +0000

    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.
---
 src/lib/evas/canvas/evas_object_textblock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index a911a7e..33402f6 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -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,                                    \

-- 


Reply via email to