mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:17:39 +00:00
* Source/externs.m: Added semicolons missing in last commit.
* Source/NSSavePanel.m: Fix return type of sorting function.
This commit is contained in:
parent
759ff8fecf
commit
fc8c034aca
3 changed files with 12 additions and 8 deletions
|
@ -1656,16 +1656,15 @@ createRowsForColumn: (NSInteger)column
|
|||
column: (NSInteger)column;
|
||||
@end
|
||||
|
||||
static int compareFilenames (id elem1, id elem2, void *context)
|
||||
static NSComparisonResult compareFilenames (id elem1, id elem2, void *context)
|
||||
{
|
||||
/* TODO - use IMP optimization here. */
|
||||
NSSavePanel *s = context;
|
||||
NSSavePanel *self = (NSSavePanel *)context;
|
||||
|
||||
return (int)[s->_delegate panel: self
|
||||
compareFilename: elem1
|
||||
with: elem2
|
||||
caseSensitive: YES];
|
||||
return [self->_delegate panel: self
|
||||
compareFilename: elem1
|
||||
with: elem2
|
||||
caseSensitive: YES];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue