Mercurial > audlegacy-plugins
comparison src/sid/xmms-sid.c @ 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 |
comparison
equal
deleted
inserted
replaced
1581:8581eb9d574a | 1582:89fb1700313a |
---|---|
388 /* Set general status information */ | 388 /* Set general status information */ |
389 xs_status.isPlaying = TRUE; | 389 xs_status.isPlaying = TRUE; |
390 xs_status.isError = FALSE; | 390 xs_status.isError = FALSE; |
391 myTune = xs_status.tuneInfo; | 391 myTune = xs_status.tuneInfo; |
392 | 392 |
393 if (subTune < 1 && subTune > xs_status.tuneInfo->nsubTunes) | 393 if (subTune < 1 || subTune > xs_status.tuneInfo->nsubTunes) |
394 xs_status.currSong = xs_status.tuneInfo->startTune; | 394 xs_status.currSong = xs_status.tuneInfo->startTune; |
395 else | 395 else |
396 xs_status.currSong = subTune; | 396 xs_status.currSong = subTune; |
397 | 397 |
398 XSDEBUG("subtune #%i selected (#%d wanted), initializing...\n", xs_status.currSong, subTune); | 398 XSDEBUG("subtune #%i selected (#%d wanted), initializing...\n", xs_status.currSong, subTune); |