Fix File source to not remove text after hash marks, as NSURL does that for us when we use the path property.

CQTexperiment
Chris Moeller 2019-01-04 18:30:45 -08:00
parent 2ec3e0940a
commit 16d0d9f5cc
1 changed files with 0 additions and 7 deletions

View File

@ -32,13 +32,6 @@
NSString * path = [url path];
NSRange fragmentRange = [path rangeOfString:@"#" options:NSBackwardsSearch];
if (fragmentRange.location != NSNotFound) {
// Chop the fragment.
NSString* newURLString = [path substringToIndex:fragmentRange.location];
path = newURLString;
}
fex_type_t type;
fex_err_t error = fex_identify_file( &type, [path UTF8String] );