Evas textblock: Remove redundant NULL check.

Detected by smatch.
This commit is contained in:
Tom Hacohen 2016-01-12 10:59:52 +00:00
parent e64192f446
commit 987fde58a7
1 changed files with 1 additions and 1 deletions

View File

@ -5515,7 +5515,7 @@ _layout_par(Ctxt *c)
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) ?
TEXTBLOCK_POSITION_SINGLE : TEXTBLOCK_POSITION_END;