diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-28 16:51:10 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-28 16:51:10 +0000 |
| commit | 6e2f3f0721263cfdd3c8f866b9cf3cb693b2f8ac (patch) | |
| tree | be88f90ad774ba19c7634b4c835301adc86333cb /macosx/PcsxrPluginHandler.m | |
| parent | f4bdd6ba7c7175cb96fd3bb9cfc084caf379994b (diff) | |
| download | pcsxr-6e2f3f0721263cfdd3c8f866b9cf3cb693b2f8ac.tar.gz | |
Messing around with the file handling XIBs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82566 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrPluginHandler.m')
| -rwxr-xr-x | macosx/PcsxrPluginHandler.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index 9fcad0ee..a025f111 100755 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -58,14 +58,14 @@ if (![self window]) [NSBundle loadNibNamed:@"AddPluginSheet" owner:self]; - [pluginName setObjectValue:[[NSURL fileURLWithPath:theFile] lastPathComponent]]; + [pluginName setObjectValue:[theFile lastPathComponent]]; [NSApp runModalForWindow:[self window]]; - [[self window] orderOut:self]; + [[self window] orderOut:nil]; if (moveOK == YES) { NSURL *supportURL = [[NSFileManager defaultManager] URLForDirectory:NSApplicationSupportDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:NULL]; - NSURL *url = [supportURL URLByAppendingPathComponent:@"Pcsxr/PlugIns"]; + NSURL *url = [[supportURL URLByAppendingPathComponent:@"Pcsxr"] URLByAppendingPathComponent:@"PlugIns"]; NSFileWrapper *wrapper = [[NSFileWrapper alloc] initWithPath:theFile]; NSString *dst = [NSString stringWithFormat:@"%@/%@", |
