aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPContentFilterManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPContentFilterManager.m')
-rw-r--r--Source/SPContentFilterManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index 019e0b6b..515dead0 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -836,7 +836,7 @@
#ifndef SP_CODA
if (returnCode == NSOKButton) {
- NSString *filename = [[panel filenames] objectAtIndex:0];
+ NSString *filename = [[[panel URLs] objectAtIndex:0] path];
NSError *readError = nil;
NSString *convError = nil;
NSPropertyListFormat format;