mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:41:23 +00:00
Fix logic of test for changed information for tidy object dates.
This commit is contained in:
parent
349dc21144
commit
3879f8e909
2 changed files with 9 additions and 2 deletions
|
@ -864,7 +864,8 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
attr = [mgr fileAttributesAtPath: _disabledPath
|
||||
traverseLink: YES];
|
||||
mod = [attr objectForKey: NSFileModificationDate];
|
||||
if (_disabledStamp == nil || [_disabledStamp laterDate: mod] == mod)
|
||||
if (_disabledStamp == nil
|
||||
|| [_disabledStamp laterDate: mod] != _disabledStamp)
|
||||
{
|
||||
NSData *data;
|
||||
id plist = nil;
|
||||
|
@ -895,7 +896,8 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
attr = [mgr fileAttributesAtPath: _servicesPath
|
||||
traverseLink: YES];
|
||||
mod = [attr objectForKey: NSFileModificationDate];
|
||||
if (_servicesStamp == nil || [_servicesStamp laterDate: mod] == mod)
|
||||
if (_servicesStamp == nil
|
||||
|| [_servicesStamp laterDate: mod] != _servicesStamp)
|
||||
{
|
||||
NSData *data;
|
||||
id plist = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue