# HG changeset patch # User ib # Date 1355233471 0 # Node ID ca631388b039e6d42eb93cf4720ddde2c98ddced # Parent 8381468bb46cee6612359e0419b651588db67b75 Fix condition in uiNext(). Chapters might be set temporarily to zero in stop mode if chapters information isn't yet available. This must not allow Chapter increasing. diff -r 8381468bb46c -r ca631388b039 gui/ui/actions.c --- a/gui/ui/actions.c Tue Dec 11 13:42:06 2012 +0000 +++ b/gui/ui/actions.c Tue Dec 11 13:44:31 2012 +0000 @@ -441,7 +441,7 @@ case STREAMTYPE_DVD: - if (guiInfo.Chapter++ == guiInfo.Chapters) { + if (guiInfo.Chapter++ >= guiInfo.Chapters) { guiInfo.Chapter = 1; if (++guiInfo.Track > guiInfo.Tracks) {