return NULL, not NULL.
authorBrett Nash <nash@nash.id.au>
Thu, 24 Jun 2010 03:01:47 +0000 (03:01 +0000)
committerBrett Nash <nash@nash.id.au>
Thu, 24 Jun 2010 03:01:47 +0000 (03:01 +0000)
SVN revision: 49826

src/lib/elm_frame.c

index 19a5fe7..bc4ea4d 100644 (file)
@@ -199,7 +199,7 @@ elm_frame_content_unset(Evas_Object *obj)
    Widget_Data *wd = elm_widget_data_get(obj);
    Evas_Object *content;
    if (!wd) return NULL;
-   if (!wd->content) NULL;
+   if (!wd->content) return NULL;
    content = wd->content;
    elm_widget_sub_object_del(obj, wd->content);
    edje_object_part_unswallow(wd->frm, wd->content);