|
@@ -78,7 +78,7 @@ const LaunchpadColor& Launchpad::getColor(unsigned char x, unsigned char y) cons
|
|
|
|
|
|
void Launchpad::setColor(unsigned char x, unsigned char y, const LaunchpadColor& color)
|
|
|
{
|
|
|
- if(x >= width || y >= height || (x == 8) && (y == 8))
|
|
|
+ if(x >= width || y >= height || (x == 8 && y == 8))
|
|
|
{
|
|
|
throw RtMidiError(
|
|
|
"specified launchpad position is out of range",
|