# HG changeset patch # User Matti Hamalainen # Date 1349419091 -10800 # Node ID e4d6947c260675bae2cc693f1401e613aa1c6a77 # Parent 22e1be63f6af7619626eccebb75303f1fc7aa7bc Cosmetics. diff -r 22e1be63f6af -r e4d6947c2606 jssplr.c --- 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;