Somehow ITSendAEWithString lost its return in revision 165. Returned the return to... MenuPrefs-1.5.2
authorKent Sutherland <ksuther@ithinksw.com>
Sun, 11 Dec 2005 19:09:19 +0000 (19:09 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Sun, 11 Dec 2005 19:09:19 +0000 (19:09 +0000)
ITAppleEventTools.m

index a61f5a4..163ff0a 100644 (file)
@@ -45,7 +45,7 @@ NSAppleEventDescriptor *ITSendAEWithKey(FourCharCode reqKey, FourCharCode evClas
 }
 
 NSAppleEventDescriptor *ITSendAEWithString(NSString *sendString, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn) {
-       ITSendAEWithStringAndTimeout(sendString, evClass, evID, psn, 60);
+       return ITSendAEWithStringAndTimeout(sendString, evClass, evID, psn, 60);
 }
 
 NSAppleEventDescriptor *ITSendAEWithStringAndTimeout(NSString *sendString, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn, long timeout) {