Changeset 167 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
- Timestamp:
- 04/18/05 05:30:49 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
r142 r167 219 219 220 220 urlData = (char *)malloc( (range->length + 1) * sizeof(char)); 221 NSCAssert(urlData != NULL, @"Internal error: can Õt allocate memory for URL string");221 NSCAssert(urlData != NULL, @"Internal error: can't allocate memory for URL string"); 222 222 223 223 selStart = 0; selEnd = range->length; … … 226 226 227 227 h = NewHandle(0); 228 NSCAssert(h != NULL, @"Internal error: can Õt allocate URL handle");228 NSCAssert(h != NULL, @"Internal error: can't allocate URL handle"); 229 229 230 230 err = ICParseURL(ICCF_GetInst(), "\pmailto", urlData, range->length, &selStart, &selEnd, h); … … 262 262 Boolean needsSlashes; 263 263 ConstStringPtr hint = ICCF_GetHint(ICCF_GetInst(), *h, len, &selStart, &selEnd, &needsSlashes); 264 NSCAssert(hint != NULL, @"Internal error: can Õt get protocol hint for URL");264 NSCAssert(hint != NULL, @"Internal error: can't get protocol hint for URL"); 265 265 266 266 if (needsSlashes) { … … 406 406 NSString *servicesTitle = [[NSBundle bundleWithIdentifier: @"com.apple.AppKit"] localizedStringForKey: @"Services" value: nil table: @"ServicesMenu"]; 407 407 if (servicesTitle == nil) { 408 ICLog(@"Can Õt get localized text for 'Services' in AppKit.framework");408 ICLog(@"Can't get localized text for 'Services' in AppKit.framework"); 409 409 servicesTitle = @"Services"; 410 410 } … … 475 475 } 476 476 477 NSMenu *ICCF_MenuForEvent(NS TextView *self, NSMenu *contextMenu, NSEvent *e) {477 NSMenu *ICCF_MenuForEvent(NSView *self, NSMenu *contextMenu, NSEvent *e) { 478 478 if (contextMenu != nil && [e type] == NSRightMouseDown || ([e type] == NSLeftMouseDown && [e modifierFlags] & NSControlKeyMask)) { 479 479 int servicesItemIndex = [contextMenu indexOfItemWithRepresentedObject: ICCF_SERVICES_ITEM];
Note:
See TracChangeset
for help on using the changeset viewer.