mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Minor path check fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13981 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
06c5cae449
commit
7836c1430f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSWorkspace.m: Fix error in testing base path for app.
|
||||
|
||||
Wed Jun 26 17:50:39 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSTextField.m ([-textDidEndEditing:]): Post the
|
||||
|
|
|
@ -564,7 +564,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
* If the original name included a path, check that the located name
|
||||
* matches it. If it doesn't we return nil as MacOS-X does.
|
||||
*/
|
||||
if (base != nil
|
||||
if ([base length] > 0
|
||||
&& [base isEqual: [path stringByDeletingLastPathComponent]] == NO)
|
||||
{
|
||||
path = nil;
|
||||
|
|
Loading…
Reference in a new issue