mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Formatting: Remove double-dots from comments and other strings
This commit is contained in:
parent
82dc6d1c7e
commit
83e5264c86
209 changed files with 508 additions and 509 deletions
|
|
@ -145,7 +145,7 @@ MidiMessage::MidiMessage (const void* const d, const int dataSize, const double
|
|||
: timeStamp (t), size (dataSize)
|
||||
{
|
||||
jassert (dataSize > 0);
|
||||
// this checks that the length matches the data..
|
||||
// this checks that the length matches the data
|
||||
jassert (dataSize > 3 || *(uint8*)d >= 0xf0 || getMessageLengthFromFirstByte (*(uint8*)d) == size);
|
||||
|
||||
memcpy (allocateSpace (dataSize), d, (size_t) dataSize);
|
||||
|
|
@ -156,7 +156,7 @@ MidiMessage::MidiMessage (const int byte1, const double t) noexcept
|
|||
{
|
||||
packedData.asBytes[0] = (uint8) byte1;
|
||||
|
||||
// check that the length matches the data..
|
||||
// check that the length matches the data
|
||||
jassert (byte1 >= 0xf0 || getMessageLengthFromFirstByte ((uint8) byte1) == 1);
|
||||
}
|
||||
|
||||
|
|
@ -166,7 +166,7 @@ MidiMessage::MidiMessage (const int byte1, const int byte2, const double t) noex
|
|||
packedData.asBytes[0] = (uint8) byte1;
|
||||
packedData.asBytes[1] = (uint8) byte2;
|
||||
|
||||
// check that the length matches the data..
|
||||
// check that the length matches the data
|
||||
jassert (byte1 >= 0xf0 || getMessageLengthFromFirstByte ((uint8) byte1) == 2);
|
||||
}
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ MidiMessage::MidiMessage (const int byte1, const int byte2, const int byte3, con
|
|||
packedData.asBytes[1] = (uint8) byte2;
|
||||
packedData.asBytes[2] = (uint8) byte3;
|
||||
|
||||
// check that the length matches the data..
|
||||
// check that the length matches the data
|
||||
jassert (byte1 >= 0xf0 || getMessageLengthFromFirstByte ((uint8) byte1) == 3);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue