mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Correction for bug found by fabien.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
57d3cefd13
commit
39b213700b
1 changed files with 3 additions and 2 deletions
|
@ -309,11 +309,12 @@ static NSImage *horizontalImage;
|
|||
- (void) deleteSelection
|
||||
{
|
||||
int i;
|
||||
int count = [selection count];
|
||||
NSArray *sel = [selection copy];
|
||||
int count = [sel count];
|
||||
|
||||
for (i = count - 1; i >= 0; i--)
|
||||
{
|
||||
id ed = [selection objectAtIndex: i];
|
||||
id ed = [sel objectAtIndex: i];
|
||||
id temp = [ed editedObject];
|
||||
|
||||
[ed detachSubviews];
|
||||
|
|
Loading…
Reference in a new issue