changeset 35557:11c649dc2907

Limit internal automatic audio CD track advancing.
author ib
date Mon, 10 Dec 2012 12:43:07 +0000
parents 970ae81f8aee
children 59361080b09e
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 10 11:30:54 2012 +0000
+++ b/gui/interface.c	Mon Dec 10 12:43:07 2012 +0000
@@ -817,7 +817,7 @@
             break;
         }
 
-        if ((guiInfo.StreamType == STREAMTYPE_CDDA) && guiInfo.Playing) {
+        if ((guiInfo.StreamType == STREAMTYPE_CDDA) && (guiInfo.Track < guiInfo.Tracks) && guiInfo.Playing) {
             uiNext();
             break;
         }