[MPlayer-dev-eng] [PATCH] GUI: Corrected indexing when removing files from playlist in playlist editor

Hans-Dieter Kosch hdkosch at kabelbw.de
Wed Dec 5 01:52:17 CET 2012


Hi Ingo,


File:

gui/ui/gtk/playlist.c


Changelog:

Corrected indexing when removing files from playlist in playlist editor:

Not all selected items towards the end of the list were removed; in particular,
when selecting all items to clear the whole list, only the lower half was
cleared, then again the lower half, and so on, until the list was empty.
Now, an arbitrary selection is removed correctly.


PS: I'm not fully sure about the peculiar coding style in this file, but I hope, 
the patch is halfway nice to read.


Hans-Dieter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui_ui_gtk_playlist.c.patch
Type: text/x-patch
Size: 1190 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20121205/0e0a3c63/attachment.bin>


More information about the MPlayer-dev-eng mailing list