Changeset 366 for trunk/Cocoa/Pester/Source/PSSpeechAlert.m
- Timestamp:
- 11/28/07 17:27:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSSpeechAlert.m
r364 r366 60 60 { 61 61 NSMutableAttributedString *string = [[@"Speak message with voice " small] mutableCopy]; 62 [string appendAttributedString: [voice underlined]]; 62 NSString *voiceName = [[NSSpeechSynthesizer attributesForVoice: voice] objectForKey: NSVoiceName]; 63 if (voiceName == nil) 64 voiceName = voice; 65 [string appendAttributedString: [voiceName underlined]]; 63 66 return [string autorelease]; 64 67 }
Note:
See TracChangeset
for help on using the changeset viewer.