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:
Richard Frith-MacDonald 2015-05-29 16:43:56 +00:00
parent e67e51198d
commit 669a0516e3

View file

@ -2637,7 +2637,8 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
base = [self cmdDataDirectory];
path = [base stringByAppendingPathComponent: @"AlertConfig.plist"];
if ([mgr isReadableFileAtPath: path] == NO
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil)
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil
|| (d = [self recursiveInclude: d]) == nil)
{
[[self cmdLogFile: logname]
printf: @"Failed to load %@\n", path];
@ -2717,7 +2718,8 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
path = [base stringByAppendingPathComponent: @"Operators.plist"];
if ([mgr isReadableFileAtPath: path] == NO
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil)
|| (d = [NSDictionary dictionaryWithContentsOfFile: path]) == nil
|| (d = [self recursiveInclude: d]) == nil)
{
[[self cmdLogFile: logname]
printf: @"Failed to load %@\n", path];