[MPlayer-cvslog] r35521 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Fri Nov 30 10:57:49 CET 2012


Author: ib
Date: Fri Nov 30 10:57:49 2012
New Revision: 35521

Log:
Change pointless condition.

Track starts with 1, they are not zero-based.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Fri Nov 30 10:48:54 2012	(r35520)
+++ trunk/gui/ui/actions.c	Fri Nov 30 10:57:49 2012	(r35521)
@@ -297,7 +297,7 @@ void uiPrev(void)
         if (--guiInfo.Chapter == 0) {
             guiInfo.Chapter = 1;
 
-            if (--guiInfo.Track <= 0) {
+            if (--guiInfo.Track = 0) {
                 guiInfo.Track = 1;
                 stop = 1;
             }


More information about the MPlayer-cvslog mailing list