[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
This commit is contained in:
Fred Kiefer 2000-12-07 00:23:20 +00:00
parent 86b501a3ce
commit db512aaaf8

View file

@ -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;