git.ithinksw.org
/
ITFoundation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d7aa6
)
Fixed error checking for new two tier method
author
Joseph Spiros
<joseph.spiros@ithinksw.com>
Wed, 5 Feb 2003 21:46:07 +0000
(21:46 +0000)
committer
Joseph Spiros
<joseph.spiros@ithinksw.com>
Wed, 5 Feb 2003 21:46:07 +0000
(21:46 +0000)
ITAppleEventCenter.m
patch
|
blob
|
history
diff --git
a/ITAppleEventCenter.m
b/ITAppleEventCenter.m
index
3a227cf
..
d6924e0
100755
(executable)
--- a/
ITAppleEventCenter.m
+++ b/
ITAppleEventCenter.m
@@
-106,7
+106,7
@@
static ITAppleEventCenter *_sharedAECenter = nil;
- (NSString*)sendTwoTierAEWithRequestedKey:(NSString*)key fromObjectByKey:(NSString*)object eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn
{
- if ( (!key) || (!eventClass) || (!eventID) || (psn.highLongOfPSN == kNoProcess) ) {
+ if ( (!key) || (!
object) || (!
eventClass) || (!eventID) || (psn.highLongOfPSN == kNoProcess) ) {
return @"";
} else {
AEEventClass eClass = *((unsigned long*)[eventClass UTF8String]);