diff --git a/Source/NSString.m b/Source/NSString.m index 0ac47f1e2..c0c67f65e 100644 --- a/Source/NSString.m +++ b/Source/NSString.m @@ -4484,7 +4484,7 @@ static NSFileManager *fm = nil; || pathSepMember((*caiImp)(s, caiSel, NSMaxRange(r))) == YES)) { r.location--; - r.lenght++; + r.length++; if (r.location > root) { NSRange r2 = {root, r.location-root};