Mercurial > mplayer.hg
comparison gui/ui/actions.c @ 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 |
comparison
equal
deleted
inserted
replaced
35426:fb3c60a47b2c | 35427:4aaf382ce9d6 |
---|---|
295 case STREAMTYPE_DVD: | 295 case STREAMTYPE_DVD: |
296 | 296 |
297 if (--guiInfo.Chapter == 0) { | 297 if (--guiInfo.Chapter == 0) { |
298 guiInfo.Chapter = 1; | 298 guiInfo.Chapter = 1; |
299 | 299 |
300 if (--guiInfo.Track <= 0) { | 300 if (--guiInfo.Track = 0) { |
301 guiInfo.Track = 1; | 301 guiInfo.Track = 1; |
302 stop = 1; | 302 stop = 1; |
303 } | 303 } |
304 } | 304 } |
305 | 305 |