Mercurial > audlegacy-plugins
changeset 1582:89fb1700313a
Oops, && should've been ||, fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Sep 2007 10:59:32 +0300 |
parents | 8581eb9d574a |
children | 2b5768cdca7a |
files | src/sid/xmms-sid.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sid/xmms-sid.c Mon Sep 03 09:37:32 2007 +0300 +++ b/src/sid/xmms-sid.c Mon Sep 03 10:59:32 2007 +0300 @@ -390,7 +390,7 @@ xs_status.isError = FALSE; myTune = xs_status.tuneInfo; - if (subTune < 1 && subTune > xs_status.tuneInfo->nsubTunes) + if (subTune < 1 || subTune > xs_status.tuneInfo->nsubTunes) xs_status.currSong = xs_status.tuneInfo->startTune; else xs_status.currSong = subTune;