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.
This commit is contained in:
Tom Hacohen 2015-11-12 15:43:43 +00:00
parent 2c8da23ed7
commit 592b786645
1 changed files with 2 additions and 2 deletions

View File

@ -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