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:
parent
7bfa419f17
commit
0a9cbd36c4
24 changed files with 207 additions and 240 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue