From: <pst...@us...> - 2010-04-25 03:15:20
|
Revision: 747 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=747&view=rev Author: pstieber Date: 2010-04-25 03:15:14 +0000 (Sun, 25 Apr 2010) Log Message: ----------- Made cosmetic changes. Modified Paths: -------------- trunk/jazz/src/Events.cpp trunk/jazz/src/SampleCommand.cpp trunk/jazz/src/Song.cpp Modified: trunk/jazz/src/Events.cpp =================================================================== --- trunk/jazz/src/Events.cpp 2010-04-25 03:08:56 UTC (rev 746) +++ trunk/jazz/src/Events.cpp 2010-04-25 03:15:14 UTC (rev 747) @@ -171,7 +171,7 @@ nBytes = 0; Buffer[nBytes++] = Stat | ((tChannelEvent *)pEvent)->GetChannel(); - while(Length--) + while (Length--) { Buffer[nBytes++] = *pData++; } Modified: trunk/jazz/src/SampleCommand.cpp =================================================================== --- trunk/jazz/src/SampleCommand.cpp 2010-04-25 03:08:56 UTC (rev 746) +++ trunk/jazz/src/SampleCommand.cpp 2010-04-25 03:15:14 UTC (rev 747) @@ -201,7 +201,7 @@ } } i--; - while(++i < length) + while (++i < length) { array[i] = array[i-1]; } Modified: trunk/jazz/src/Song.cpp =================================================================== --- trunk/jazz/src/Song.cpp 2010-04-25 03:08:56 UTC (rev 746) +++ trunk/jazz/src/Song.cpp 2010-04-25 03:15:14 UTC (rev 747) @@ -435,7 +435,7 @@ // looplength will be used to loop the track, for the duration of // the playtrack event. loopLength = pTrack->GetLastClock(); - while(f) + while (f) { if (f->IsEndOfTrack()) { @@ -455,7 +455,7 @@ // which start + length end up after the startloop. Then we could move the // start of those to the beginning of the loop, and shorten the length. // There would still be a problem with playtracks not even bar length. - while(loopOffset < c->eventlength) + while (loopOffset < c->eventlength) { // No more events than the length of the playtrack! and ensure the last // iteration is no longer than what is left. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |