From 6c2e9a27b7f1ba141fb30dddd7645e2cce4ad35f Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Thu, 7 Dec 2000 00:23:20 +0000 Subject: [PATCH] [contextHelpForKey:] replaced nil by NULL to avoid compiler warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8271 72102866-910b-0410-8b05-ffd578937521 --- Source/NSHelpManager.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/NSHelpManager.m b/Source/NSHelpManager.m index bb1afabf6..a3af9f4ac 100644 --- a/Source/NSHelpManager.m +++ b/Source/NSHelpManager.m @@ -44,8 +44,8 @@ { id helpFile = nil; NSDictionary *contextHelp = - [[NSDictionary dictionaryWithContentsOfFile: - [self pathForResource: @"Help" ofType: @"plist"]] retain]; + RETAIN([NSDictionary dictionaryWithContentsOfFile: + [self pathForResource: @"Help" ofType: @"plist"]]); if(contextHelp) { @@ -63,8 +63,8 @@ pathForResource: key ofType: @"rtf" inDirectory: @"Help"]; - return [[[NSAttributedString alloc] initWithPath: (NSString *)helpFile - documentAttributes: nil] autorelease]; + return AUTORELEASE([[NSAttributedString alloc] initWithPath: (NSString *)helpFile + documentAttributes: NULL]); } return nil;