Fix Dereference after null check

SVN revision: 82453
This commit is contained in:
Jaehwan Kim 2013-01-09 11:30:10 +00:00
parent e301666c65
commit 7adcc92f18
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ _item_content_get_hook(const Elm_Object_Item *it,
Elm_Segment_Item *item;
item = (Elm_Segment_Item *)it;
if (!part && !strcmp(part, "icon"))
if (part && !strcmp(part, "icon"))
return item->icon;
else
return edje_object_part_swallow_get(VIEW(item), part);