mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
397660b06d
commit
6988bf34c2
60 changed files with 577 additions and 513 deletions
|
@ -106,7 +106,7 @@
|
|||
{
|
||||
self = [super init];
|
||||
|
||||
if(self != nil)
|
||||
if (self != nil)
|
||||
{
|
||||
ASSIGN(delegate,anObject);
|
||||
filename = nil;
|
||||
|
@ -124,7 +124,7 @@
|
|||
{
|
||||
self = [super init];
|
||||
|
||||
if(self != nil)
|
||||
if (self != nil)
|
||||
{
|
||||
ASSIGN(delegate,anObject);
|
||||
ASSIGN(filename,path);
|
||||
|
@ -148,7 +148,7 @@
|
|||
[link setDestinationSelection: selection];
|
||||
[link setDestinationManager: self];
|
||||
|
||||
if([destinationLinks containsObject: link] == NO)
|
||||
if ([destinationLinks containsObject: link] == NO)
|
||||
{
|
||||
[destinationLinks addObject: link];
|
||||
result = YES;
|
||||
|
@ -173,9 +173,9 @@
|
|||
NSEnumerator *en = [links objectEnumerator];
|
||||
NSDataLink *link = nil;
|
||||
|
||||
while((link = [en nextObject]) != nil)
|
||||
while ((link = [en nextObject]) != nil)
|
||||
{
|
||||
if([link destinationSelection] == oldSelection)
|
||||
if ([link destinationSelection] == oldSelection)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -189,7 +189,7 @@
|
|||
NSEnumerator *en = [allLinks objectEnumerator];
|
||||
id obj = nil;
|
||||
|
||||
while((obj = [en nextObject]) != nil)
|
||||
while ((obj = [en nextObject]) != nil)
|
||||
{
|
||||
[obj break];
|
||||
}
|
||||
|
@ -201,7 +201,7 @@
|
|||
NSEnumerator *en = [allLinks objectEnumerator];
|
||||
id obj = nil;
|
||||
|
||||
while((obj = [en nextObject]) != nil)
|
||||
while ((obj = [en nextObject]) != nil)
|
||||
{
|
||||
[obj writeToPasteboard: pasteboard];
|
||||
}
|
||||
|
@ -212,7 +212,7 @@
|
|||
//
|
||||
- (void)noteDocumentClosed
|
||||
{
|
||||
if([delegate respondsToSelector: @selector(dataLinkManagerCloseDocument:)])
|
||||
if ([delegate respondsToSelector: @selector(dataLinkManagerCloseDocument:)])
|
||||
{
|
||||
[delegate dataLinkManagerCloseDocument: self];
|
||||
}
|
||||
|
@ -220,7 +220,7 @@
|
|||
|
||||
- (void)noteDocumentEdited
|
||||
{
|
||||
if([delegate respondsToSelector: @selector(dataLinkManagerDidEditLinks:)])
|
||||
if ([delegate respondsToSelector: @selector(dataLinkManagerDidEditLinks:)])
|
||||
{
|
||||
[delegate dataLinkManagerDidEditLinks: self];
|
||||
}
|
||||
|
@ -228,7 +228,7 @@
|
|||
|
||||
- (void)noteDocumentReverted
|
||||
{
|
||||
if([delegate respondsToSelector: @selector(dataLinkManagerDidEditLinks:)])
|
||||
if ([delegate respondsToSelector: @selector(dataLinkManagerDidEditLinks:)])
|
||||
{
|
||||
[delegate dataLinkManagerDidEditLinks: self];
|
||||
}
|
||||
|
@ -305,9 +305,9 @@
|
|||
NSEnumerator *en = [self destinationLinkEnumerator];
|
||||
id obj = nil;
|
||||
|
||||
while((obj = [en nextObject]) != nil)
|
||||
while ((obj = [en nextObject]) != nil)
|
||||
{
|
||||
if([obj destinationSelection] == destSel)
|
||||
if ([obj destinationSelection] == destSel)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
@ -351,7 +351,7 @@
|
|||
{
|
||||
int version = [aCoder versionForClassName: @"NSDataLinkManager"];
|
||||
|
||||
if(version == 0)
|
||||
if (version == 0)
|
||||
{
|
||||
BOOL flag = NO;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue