changeset 35427:4aaf382ce9d6

Change pointless condition. Track starts with 1, they are not zero-based.
author ib
date Fri, 30 Nov 2012 09:57:49 +0000
parents fb3c60a47b2c
children 0833bccb3c7b
files gui/ui/actions.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Fri Nov 30 09:48:54 2012 +0000
+++ b/gui/ui/actions.c	Fri Nov 30 09:57:49 2012 +0000
@@ -297,7 +297,7 @@
         if (--guiInfo.Chapter == 0) {
             guiInfo.Chapter = 1;
 
-            if (--guiInfo.Track <= 0) {
+            if (--guiInfo.Track = 0) {
                 guiInfo.Track = 1;
                 stop = 1;
             }