- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.
SVN r2449 (trunk)
This commit is contained in:
parent
4ac64b6df7
commit
545a892faa
28 changed files with 50 additions and 50 deletions
|
|
@ -1035,11 +1035,11 @@ void SFFile::CheckZones(int start, int stop, bool instr)
|
|||
// Check for swapped ranges. (Should we fix them or ignore them?)
|
||||
if (bag[i].KeyRange.Lo > bag[i].KeyRange.Hi)
|
||||
{
|
||||
swap(bag[i].KeyRange.Lo, bag[i].KeyRange.Hi);
|
||||
swapvalues(bag[i].KeyRange.Lo, bag[i].KeyRange.Hi);
|
||||
}
|
||||
if (bag[i].VelRange.Lo > bag[i].VelRange.Hi)
|
||||
{
|
||||
swap(bag[i].VelRange.Lo, bag[i].VelRange.Hi);
|
||||
swapvalues(bag[i].VelRange.Lo, bag[i].VelRange.Hi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue