mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18:50:48 +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
7a23844533
commit
c64d585593
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>
|
Wed Jun 26 17:50:39 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
* Source/NSTextField.m ([-textDidEndEditing:]): Post the
|
* 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
|
* 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.
|
* 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)
|
&& [base isEqual: [path stringByDeletingLastPathComponent]] == NO)
|
||||||
{
|
{
|
||||||
path = nil;
|
path = nil;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue