forked from enlightenment/efl
Evas textblock: Remove redundant NULL check.
Detected by smatch.
This commit is contained in:
parent
e64192f446
commit
987fde58a7
|
@ -5515,7 +5515,7 @@ _layout_par(Ctxt *c)
|
||||||
|
|
||||||
if (c->ln->items)
|
if (c->ln->items)
|
||||||
{
|
{
|
||||||
if (c->par && !EINA_INLIST_GET(c->par)->next)
|
if (!EINA_INLIST_GET(c->par)->next)
|
||||||
{
|
{
|
||||||
c->position = (c->position == TEXTBLOCK_POSITION_START) ?
|
c->position = (c->position == TEXTBLOCK_POSITION_START) ?
|
||||||
TEXTBLOCK_POSITION_SINGLE : TEXTBLOCK_POSITION_END;
|
TEXTBLOCK_POSITION_SINGLE : TEXTBLOCK_POSITION_END;
|
||||||
|
|
Loading…
Reference in New Issue