mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-21 19:01:16 +00:00
fix failure to include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38589 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e67e51198d
commit
669a0516e3
1 changed files with 4 additions and 2 deletions
|
@ -2637,7 +2637,8 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
base = [self cmdDataDirectory];
|
base = [self cmdDataDirectory];
|
||||||
path = [base stringByAppendingPathComponent: @"AlertConfig.plist"];
|
path = [base stringByAppendingPathComponent: @"AlertConfig.plist"];
|
||||||
if ([mgr isReadableFileAtPath: path] == NO
|
if ([mgr isReadableFileAtPath: path] == NO
|
||||||
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil)
|
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil
|
||||||
|
|| (d = [self recursiveInclude: d]) == nil)
|
||||||
{
|
{
|
||||||
[[self cmdLogFile: logname]
|
[[self cmdLogFile: logname]
|
||||||
printf: @"Failed to load %@\n", path];
|
printf: @"Failed to load %@\n", path];
|
||||||
|
@ -2717,7 +2718,8 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
|
|
||||||
path = [base stringByAppendingPathComponent: @"Operators.plist"];
|
path = [base stringByAppendingPathComponent: @"Operators.plist"];
|
||||||
if ([mgr isReadableFileAtPath: path] == NO
|
if ([mgr isReadableFileAtPath: path] == NO
|
||||||
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil)
|
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil
|
||||||
|
|| (d = [self recursiveInclude: d]) == nil)
|
||||||
{
|
{
|
||||||
[[self cmdLogFile: logname]
|
[[self cmdLogFile: logname]
|
||||||
printf: @"Failed to load %@\n", path];
|
printf: @"Failed to load %@\n", path];
|
||||||
|
|
Loading…
Reference in a new issue