diff options
| -rwxr-xr-x | macosx/PcsxrPluginHandler.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index a025f111..17873cf3 100755 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -68,9 +68,7 @@ NSURL *url = [[supportURL URLByAppendingPathComponent:@"Pcsxr"] URLByAppendingPathComponent:@"PlugIns"]; NSFileWrapper *wrapper = [[NSFileWrapper alloc] initWithPath:theFile]; - NSString *dst = [NSString stringWithFormat:@"%@/%@", - [url path], - [wrapper filename]]; + NSString *dst = [[url URLByAppendingPathComponent:[wrapper filename]] path]; if ([wrapper writeToFile:dst atomically:NO updateFilenames:NO]) { [[NSWorkspace sharedWorkspace] noteFileSystemChanged:[url path]]; NSRunInformationalAlertPanel(NSLocalizedString(@"Installation Succesfull", nil), |
