forked from enlightenment/efl
evas text - handle null font case for font set
coverity was unhappy wiht inconsistent checks, so we'll be consistent and thus handle a null font. fixes CID 1403882
This commit is contained in:
parent
b0ad81d927
commit
9e94115ab3
|
@ -459,7 +459,7 @@ _evas_text_efl_text_font_font_set(Eo *eo_obj, Evas_Text_Data *o, const char *fon
|
|||
|
||||
evas_object_async_block(obj);
|
||||
if ((size == o->cur.size) &&
|
||||
(o->cur.font && !strcmp(font, o->cur.font))) return;
|
||||
(o->cur.font && font && !strcmp(font, o->cur.font))) return;
|
||||
|
||||
if (font)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue