# HG changeset patch
# User ib
# Date 1355147630 0
# Node ID 1a2200a93ea8b22edb4e4cdaf6f865afc71ee608
# Parent  14e36699a6e7e1789060b5d3a410b16e8e9d1b53
Make DVD stop if manually advancing beyond last chapter of last track.

CD and VCD behave the same way.

diff -r 14e36699a6e7 -r 1a2200a93ea8 gui/ui/actions.c
--- a/gui/ui/actions.c	Mon Dec 10 12:49:40 2012 +0000
+++ b/gui/ui/actions.c	Mon Dec 10 13:53:50 2012 +0000
@@ -430,6 +430,7 @@
 
             if (++guiInfo.Track > guiInfo.Tracks) {
                 guiInfo.Track = guiInfo.Tracks;
+                guiInfo.Chapter = guiInfo.Chapters;
                 stop = True;
             }
         }