[MPlayer-cvslog] r33563 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Sun Jun 5 16:54:41 CEST 2011


Author: ib
Date: Sun Jun  5 16:54:41 2011
New Revision: 33563

Log:
When adding a playlist item, preventively set its next pointer to NULL.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Sun Jun  5 16:45:49 2011	(r33562)
+++ trunk/gui/interface.c	Sun Jun  5 16:54:41 2011	(r33563)
@@ -1075,6 +1075,7 @@ void *gtkSet(int cmd, float fparam, void
 
             next->next = item;
             item->prev = next;
+            item->next = NULL;
         } else {
             item->prev = item->next = NULL;
             plCurrent  = plList = item;


More information about the MPlayer-cvslog mailing list