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:
CaS 2005-11-16 11:34:25 +00:00
parent 397660b06d
commit 6988bf34c2
60 changed files with 577 additions and 513 deletions

View file

@ -48,12 +48,12 @@
RETAIN([NSDictionary dictionaryWithContentsOfFile:
[self pathForResource: @"Help" ofType: @"plist"]]);
if(contextHelp)
if (contextHelp)
{
helpFile = [contextHelp objectForKey: key];
}
if(helpFile)
if (helpFile)
{
return [NSUnarchiver unarchiveObjectWithData:
[helpFile objectForKey: @"NSHelpRTFContents"]];
@ -83,7 +83,7 @@
help = [info objectForKey: @"GSHelpContentsFile"];
if(!help)
if (!help)
{
help = [info objectForKey: @"NSExecutable"];
// If there's no specification, we look for a file named "appname.rtf"
@ -176,9 +176,9 @@ static BOOL _gnu_contextHelpActive = NO;
// their context help is.
id hc = NSMapGet(contextHelpTopics, object);
if(hc)
if (hc)
{
if(![hc isKindOfClass: [NSAttributedString class]])
if (![hc isKindOfClass: [NSAttributedString class]])
{
hc = [[NSBundle mainBundle] contextHelpForKey: hc];
/* We store the retrieved value, or remove the key from