diff --git a/ChangeLog b/ChangeLog index c90eb8c10..bd240dd72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-13 Riccardo Mottola + + * Source/NSMatrix.m + cleaned up code + 2010-08-11 Wolfgang Lux * Source/NSComboBox.m (-textView:doCommandBySelector:): New diff --git a/Source/NSMatrix.m b/Source/NSMatrix.m index e92ba44b2..15abf252b 100644 --- a/Source/NSMatrix.m +++ b/Source/NSMatrix.m @@ -2600,8 +2600,9 @@ static SEL getSel; for (j = 0; j < _numCols; j++) { - NSCell *aCell = _cells[i][j];; + NSCell *aCell = _cells[i][j]; unsigned int mask = 0; + if ([aCell respondsToSelector:@selector(keyEquivalentModifierMask)]) mask = [(NSButtonCell *)aCell keyEquivalentModifierMask];