mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 17:26:29 +00:00
[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:
parent
86b501a3ce
commit
db512aaaf8
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue