forked from enlightenment/efl
evas: drop redundant pointer check
Summary: The function already has a precondition test for !font, so this additional test will never trigger. @fix CID1371525 Reviewers: cedric, jpeg Subscribers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D4682 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
23eb88709b
commit
24ed55539d
|
@ -432,8 +432,7 @@ _evas_text_efl_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o, const cha
|
||||||
|
|
||||||
evas_object_async_block(obj);
|
evas_object_async_block(obj);
|
||||||
if ((size == o->cur.size) &&
|
if ((size == o->cur.size) &&
|
||||||
((!font && !o->cur.font) ||
|
(o->cur.font && !strcmp(font, o->cur.font))) return;
|
||||||
(font && o->cur.font && !strcmp(font, o->cur.font)))) return;
|
|
||||||
|
|
||||||
/* We can't assume the given font is same with current fdesc by comparing string.
|
/* We can't assume the given font is same with current fdesc by comparing string.
|
||||||
Since Evas starts to supporting "auto" for language,
|
Since Evas starts to supporting "auto" for language,
|
||||||
|
|
Loading…
Reference in New Issue