summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-11-12 15:43:43 +0000
committerTom Hacohen <tom@stosb.com>2015-11-12 15:49:45 +0000
commit592b786645e0a6fe6766a36347dda2fa73da24b4 (patch)
treec468153078d1fa8962320ba64a9bc9d441a1c23e
parent2c8da23ed76ba6c9271fc3e02c5ce4b02970a72a (diff)
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.
-rw-r--r--src/lib/evas/canvas/evas_object_text.c4
1 files 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 c066a408d2..52b9170bd5 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
68 float max_ascent, max_descent; 68 float max_ascent, max_descent;
69 69
70 Evas_BiDi_Direction bidi_dir : 2; 70 Evas_BiDi_Direction bidi_dir : 2;
71 char changed : 1; 71 Eina_Bool changed : 1;
72 char has_filter : 1; 72 Eina_Bool has_filter : 1;
73}; 73};
74 74
75struct _Evas_Object_Text_Item 75struct _Evas_Object_Text_Item