mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:10:48 +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
6fe621db12
commit
6c2e9a27b7
1 changed files with 4 additions and 4 deletions
|
@ -44,8 +44,8 @@
|
||||||
{
|
{
|
||||||
id helpFile = nil;
|
id helpFile = nil;
|
||||||
NSDictionary *contextHelp =
|
NSDictionary *contextHelp =
|
||||||
[[NSDictionary dictionaryWithContentsOfFile:
|
RETAIN([NSDictionary dictionaryWithContentsOfFile:
|
||||||
[self pathForResource: @"Help" ofType: @"plist"]] retain];
|
[self pathForResource: @"Help" ofType: @"plist"]]);
|
||||||
|
|
||||||
if(contextHelp)
|
if(contextHelp)
|
||||||
{
|
{
|
||||||
|
@ -63,8 +63,8 @@
|
||||||
pathForResource: key
|
pathForResource: key
|
||||||
ofType: @"rtf"
|
ofType: @"rtf"
|
||||||
inDirectory: @"Help"];
|
inDirectory: @"Help"];
|
||||||
return [[[NSAttributedString alloc] initWithPath: (NSString *)helpFile
|
return AUTORELEASE([[NSAttributedString alloc] initWithPath: (NSString *)helpFile
|
||||||
documentAttributes: nil] autorelease];
|
documentAttributes: NULL]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil;
|
return nil;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue