From 4ad9c503102d4f6a7508c8faed3a1acf7838827a Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 9 Oct 2008 10:21:16 +0000 Subject: [PATCH] When the list is NULL, it's empty. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_list.c b/src/lib/ecore/ecore_list.c index 9334e35..008916c 100644 --- a/src/lib/ecore/ecore_list.c +++ b/src/lib/ecore/ecore_list.c @@ -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; -- 2.7.4