Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_list.c 


Log Message:
- Make sure we set the current pointer. If we don't and call _index_goto()
  we'll get a segv

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_list.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ecore_list.c        15 Nov 2007 15:44:30 -0000      1.42
+++ ecore_list.c        19 Nov 2007 04:15:26 -0000      1.43
@@ -532,7 +532,7 @@
    if (ecore_list_empty_is(list))
      {
        list->first = append->first;
-       list->current = NULL;
+       list->current = list->first;
        list->last = append->last;
        list->nodes = append->nodes;
      }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to