mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +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
|
@ -1,3 +1,8 @@
|
|||
2017-06-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/externs.m: Added semicolons missing in last commit.
|
||||
* Source/NSSavePanel.m: Fix return type of sorting function.
|
||||
|
||||
2017-06-12 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* Source/NSAttributedString.m,
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -583,8 +583,8 @@ NSString *NSMacSimpleTextDocumentType = @"NSMacSimpleText";
|
|||
NSString *NSHTMLTextDocumentType = @"NSHTML";
|
||||
NSString *NSDocFormatTextDocumentType = @"NSDocFormat";
|
||||
NSString *NSWordMLTextDocumentType = @"NSWordML";
|
||||
NSString *NSOfficeOpenXMLTextDocumentType = @"NSOfficeOpenXML"
|
||||
NSString *NSOpenDocumentTextDocumentType = @"NSOpenDocumentText"
|
||||
NSString *NSOfficeOpenXMLTextDocumentType = @"NSOfficeOpenXML";
|
||||
NSString *NSOpenDocumentTextDocumentType = @"NSOpenDocumentText";
|
||||
|
||||
NSString *NSExcludedElementsDocumentAttribute = @"ExcludedElements";
|
||||
NSString *NSTextEncodingNameDocumentAttribute = @"TextEncodingName";
|
||||
|
|
Loading…
Reference in a new issue