aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMLoginItems.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMLoginItems.m')
-rw-r--r--AppKit/GTMLoginItems.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/AppKit/GTMLoginItems.m b/AppKit/GTMLoginItems.m
index c3dedfe..f124ef5 100644
--- a/AppKit/GTMLoginItems.m
+++ b/AppKit/GTMLoginItems.m
@@ -74,7 +74,7 @@ NSString * const kGTMLoginItemsHiddenKey = @"Hide";
NSAppleEventDescriptor *scriptResult = [query executeAndReturnError:&errDict];
if (!scriptResult) {
// COV_NF_START - no real way to test this
- if (*errorInfo)
+ if (errorInfo)
*errorInfo = [NSError errorWithDomain:@"GTMLoginItems" code:-92 userInfo:errDict];
return NO;
// COV_NF_END
@@ -108,7 +108,7 @@ NSString * const kGTMLoginItemsHiddenKey = @"Hide";
NSAppleEventDescriptor *scriptResult = [query executeAndReturnError:&errDict];
if (!scriptResult) {
// COV_NF_START - no real way to test this
- if (*errorInfo)
+ if (errorInfo)
*errorInfo = [NSError errorWithDomain:@"GTMLoginItems" code:-2 userInfo:errDict];
return nil;
// COV_NF_END