When the list is NULL, it's empty.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 9 Oct 2008 10:21:16 +0000 (10:21 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 9 Oct 2008 10:21:16 +0000 (10:21 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_list.c

index 9334e35..008916c 100644 (file)
@@ -318,7 +318,7 @@ ecore_list_empty_is(Ecore_List *list)
 {
    int ret = TRUE;
 
-   CHECK_PARAM_POINTER_RETURN("list", list, FALSE);
+   CHECK_PARAM_POINTER_RETURN("list", list, TRUE);
 
    if (list->nodes)
      ret = FALSE;