aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 5e324d28..aeef2276 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -3460,11 +3460,8 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS
}
// Check size and NSFileType
-#ifndef SP_REFACTOR
- NSDictionary *attr = [[NSFileManager defaultManager] fileAttributesAtPath:filepath traverseLink:YES];
-#else
NSDictionary *attr = [[NSFileManager defaultManager] attributesOfItemAtPath:filepath error:nil];
-#endif
+
if(attr)
{
NSNumber *filesize = [attr objectForKey:NSFileSize];