mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-16 00:21:29 +00:00
Fix failure to use argument for link store insertion
This commit is contained in:
parent
8cd904225c
commit
0d411fb45a
1 changed files with 2 additions and 2 deletions
|
@ -603,7 +603,7 @@ GSLinkStoreInsertObjectAfter(
|
|||
link->next = nil;
|
||||
}
|
||||
link->item = [anObject retain];
|
||||
GSLinkedListInsertAfter(link, list, list->tail);
|
||||
GSLinkedListInsertAfter(link, list, (nil == at) ? list->tail : at);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -622,7 +622,7 @@ GSLinkStoreInsertObjectBefore(
|
|||
link->next = nil;
|
||||
}
|
||||
link->item = [anObject retain];
|
||||
GSLinkedListInsertBefore(link, list, list->head);
|
||||
GSLinkedListInsertBefore(link, list, (nil == at) ? list->head : at);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue