Changeset 3874
- Timestamp:
- 03/04/06 17:55:53 (3 years ago)
- Files:
-
- WiredAdditions/trunk/WIURL.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredAdditions/trunk/WIURL.m
r3705 r3874 342 342 343 343 - (NSURL *)URL { 344 return [NSURL URLWithString:[self string]]; 344 if([self isFileURL]) 345 return [NSURL fileURLWithPath:[self path]]; 346 347 return [[[NSURL alloc] initWithScheme:[self scheme] host:[self hostpair] path:[self path]] autorelease]; 345 348 } 346 349
