Mercurial > hg > dmlib
changeset 145:e4d6947c2606
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 05 Oct 2012 09:38:11 +0300 |
parents | 22e1be63f6af |
children | 3226778033fd |
files | jssplr.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jssplr.c Fri Oct 05 09:37:39 2012 +0300 +++ b/jssplr.c Fri Oct 05 09:38:11 2012 +0300 @@ -1201,7 +1201,8 @@ chn->iCFadeOutVol = mpMaxFadeoutVol; // We save the instrument number here for later use - if (currNote->instrument >= 0 && currNote->instrument < mp->module->nextInstruments) + if (currNote->instrument >= 0 && + currNote->instrument < mp->module->nextInstruments) chn->iCExtInstrumentN = currNote->instrument; } @@ -1227,7 +1228,8 @@ // Get instrument number tmp = extInst->sNumForNotes[note]; - if (tmp >= 0 && tmp < mp->module->ninstruments) { + if (tmp >= 0 && tmp < mp->module->ninstruments) + { // Set the new instrument inst = mp->module->instruments[tmp]; chn->iCInstrumentN = tmp;