mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-25 12:12:20 +00:00
Ignore the path to the application when extracting the port name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
12ea75e949
commit
fca20ea849
2 changed files with 7 additions and 1 deletions
|
@ -2083,7 +2083,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
host = @"";
|
||||
}
|
||||
}
|
||||
port = [appName stringByDeletingPathExtension];
|
||||
port = [[appName lastPathComponent] stringByDeletingPathExtension];
|
||||
/*
|
||||
* Try to contact a running application.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue