On Wed, May 04, 2005 at 04:27:06PM +0300, Oleg Grenrus wrote:
> Package: moc
> Version: 2.2.1-1
> 
> When in playlist is just one file, repeat is on and i press 'b' - back,
> mocp crashes, with error message:

Thanks for the report. THe patch is included (for 2.2.1 and
2.3.0-alpha1).

-- 
Damian Pietras
Index: playlist.c
===================================================================
--- playlist.c  (revision 1231)
+++ playlist.c  (revision 1232)
@@ -780,7 +780,7 @@
 {
        int i;
 
-       i = plist->num;
+       i = plist->num - 1;
        
        while (i > 0 && plist_deleted(plist, i))
                i--;

Attachment: pgpY0jUOiAVqa.pgp
Description: PGP signature

Reply via email to