Changeset 587 for trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m
- Timestamp:
- 09/20/09 21:08:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m
r576 r587 568 568 while ( (type = [e nextObject]) != nil) { 569 569 if ([type hasPrefix: @"CorePasteboardFlavorType 0x"]) { 570 const char *osTypeHex = [[type substringFromIndex: [type rangeOfString: @"0x" options: NSBackwardsSearch].location] lossyCString];570 const char *osTypeHex = [[type substringFromIndex: [type rangeOfString: @"0x" options: NSBackwardsSearch].location] UTF8String]; 571 571 OSType osType; 572 572 sscanf(osTypeHex, "%lx", &osType);
Note:
See TracChangeset
for help on using the changeset viewer.