1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Minor tweaks to MidiMessage, Label. Removed some intel compiler warnings.

This commit is contained in:
Julian Storer 2011-01-20 14:23:46 +00:00
parent 7bfa419f17
commit 0a9cbd36c4
24 changed files with 207 additions and 240 deletions

View file

@ -212,12 +212,6 @@ void MemoryBlock::copyTo (void* const dst, int offset, size_t num) const throw()
void MemoryBlock::removeSection (size_t startByte, size_t numBytesToRemove)
{
if (startByte < 0)
{
numBytesToRemove += startByte;
startByte = 0;
}
if (startByte + numBytesToRemove >= size)
{
setSize (startByte);