mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 03:31:39 +00:00
Fix swapped macro arguments, which could lead to a wrong selection and
potentially a crash when extending the selection of a matrix with the alt modifier key. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32506 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7c8c25e08
commit
f9fb57e717
2 changed files with 9 additions and 4 deletions
|
@ -3667,10 +3667,9 @@ static SEL getSel;
|
|||
break;
|
||||
}
|
||||
|
||||
[self setSelectionFrom:
|
||||
INDEX_FROM_COORDS(_selectedRow, _selectedColumn)
|
||||
to: INDEX_FROM_COORDS(_dottedRow, _dottedColumn)
|
||||
anchor: INDEX_FROM_COORDS(_selectedRow, _selectedColumn)
|
||||
[self setSelectionFrom: INDEX_FROM_COORDS(_selectedColumn, _selectedRow)
|
||||
to: INDEX_FROM_COORDS(_dottedColumn, _dottedRow)
|
||||
anchor: INDEX_FROM_COORDS(_selectedColumn, _selectedRow)
|
||||
highlight: YES];
|
||||
|
||||
[self displayIfNeeded];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue