[MPlayer-dev-eng] [PATCH] Fix bad items removed in playlist
Olivier Blin
blino at enseirb.fr
Tue Apr 1 02:07:27 CEST 2003
Hi
There was a bug when removing items in the GUI playlist.
To test this bug, add 3 items in the playlist, select and remove the second one, then select and remove the first one: oddly enough, the two remaining items are both removed.
I've fixed this in MPlayer-0.90rc5, because I can't have access to CVS because of connexion restrictions.
The bug was in MPlayer-0.90rc5/Gui/mplayer/gtk/pl.c .
When removing an item, it didn't update the list of selected items.
So I have added code to shift this list after removing an item.
Futhermore, in the loop where items are removed, the loop counter limit wasn't updated after removing an item, I've fixed this.
This is my first small patch, I hope this helps.
Regards,
Olivier Blin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.playlist.remove
Type: application/octet-stream
Size: 791 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030401/beb59891/attachment.obj>
More information about the MPlayer-dev-eng
mailing list