# HG changeset patch # User ib # Date 1354463779 0 # Node ID 364387ae95f462f647c5fe8f95d460ecc28f5be1 # Parent 0583b12e11d7e44e45e983b83d35b11b120d8df5 Fix bug with stop button and playlist. Although the current file was stopped and its information still displayed, play would skip to next file in list. Now, the file stopped can be resumed. diff -r 0583b12e11d7 -r 364387ae95f4 gui/interface.c --- a/gui/interface.c Sun Dec 02 15:55:01 2012 +0000 +++ b/gui/interface.c Sun Dec 02 15:56:19 2012 +0000 @@ -328,7 +328,7 @@ #ifdef CONFIG_DVDREAD dvd_priv_t *dvd; #endif - plItem *next; + plItem *next = NULL; int msg, state; if (guiInfo.mpcontext) @@ -788,6 +788,7 @@ break; } + if (guiInfo.Playing) next = listMgr(PLAYLIST_ITEM_GET_NEXT, 0); if (guiInfo.Playing && next) {