tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=592b786645e0a6fe6766a36347dda2fa73da24b4

commit 592b786645e0a6fe6766a36347dda2fa73da24b4
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Nov 12 15:43:43 2015 +0000

    Evas text: Change bitfield bool types to Eina_Bool.
    
    This is really just a safety measure, as we always just check if the value
    is true. However, with char the potential values are -1 and 0, and with
    Eina_Bool they are 1 and 0, so fixing that.
    
    Thanks to the "sparse semantic parser" for detecting that, and to Stefan
    for reporting.
---
 src/lib/evas/canvas/evas_object_text.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index c066a40..52b9170 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -68,8 +68,8 @@ struct _Evas_Text_Data
    float                       max_ascent, max_descent;
 
    Evas_BiDi_Direction         bidi_dir : 2;
-   char                        changed : 1;
-   char                        has_filter : 1;
+   Eina_Bool                   changed : 1;
+   Eina_Bool                   has_filter : 1;
 };
 
 struct _Evas_Object_Text_Item

-- 


Reply via email to