Changeset 561 for trunk/Cocoa/Pester/Source
- Timestamp:
- 07/18/09 06:00:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSSpeechAlert.m
r366 r561 72 72 { 73 73 NSMutableDictionary *plAlert = [[super propertyListRepresentation] mutableCopy]; 74 if (voice == nil) 74 if (voice == nil) { 75 // XXX should pick a different voice, not destroy the alert 76 [plAlert release]; 75 77 @throw [NSException exceptionWithName: NSInvalidArgumentException 76 78 reason: @"The selected voice is not available." userInfo: nil]; 79 } 77 80 [plAlert setObject: voice forKey: PLAlertVoice]; 78 81 return [plAlert autorelease];
Note:
See TracChangeset
for help on using the changeset viewer.