Changeset 3924
- Timestamp:
- 03/19/06 11:19:40 (3 years ago)
- Files:
-
- WiredAdditions/trunk/WIURL.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredAdditions/trunk/WIURL.m
r3890 r3924 341 341 342 342 - (NSURL *)URL { 343 NSString *path;344 345 343 if([self isFileURL]) 346 344 return [NSURL fileURLWithPath:[self path]]; 347 345 348 path = [self path]; 349 350 if(!path) 351 path = @"/"; 352 353 return [[[NSURL alloc] initWithScheme:[self scheme] host:[self hostpair] path:path] autorelease]; 346 return [NSURL URLWithString:[self string]]; 354 347 } 355 348
