projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64192f
)
Evas textblock: Remove redundant NULL check.
author
Tom Hacohen
<tom@stosb.com>
Tue, 12 Jan 2016 10:59:52 +0000
(10:59 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Tue, 12 Jan 2016 11:00:01 +0000
(11:00 +0000)
Detected by smatch.
src/lib/evas/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_textblock.c
b/src/lib/evas/canvas/evas_object_textblock.c
index
b5a17f1
..
70a9e3a
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_textblock.c
+++ b/
src/lib/evas/canvas/evas_object_textblock.c
@@
-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;