diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-05-17 14:32:12 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-05-17 14:32:12 +0000 |
commit | 32368a91e63a01cd62437469360dda76ced558b4 (patch) | |
tree | 5ad661cbf31ca408764040346d71494e04cae96d /tools/source/fsys/dirent.cxx | |
parent | 1b9cfadbc5f1a672c2689783e00e33a29600b877 (diff) |
#87312#
Diffstat (limited to 'tools/source/fsys/dirent.cxx')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index 9e97170368d4..44dcdd466fed 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -2,8 +2,8 @@ * * $RCSfile: dirent.cxx,v $ * - * $Revision: 1.6 $ - * last change: $Author: hro $ $Date: 2001-05-10 10:17:55 $ + * $Revision: 1.7 $ + * last change: $Author: hro $ $Date: 2001-05-17 15:32:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1913,6 +1913,9 @@ BOOL DirEntry::Find( const String& rPfad, char cDelim ) #ifdef MAC if (aPath[aPath.Len()-1] == ':') aPath.Cut(aPath.Len()-1); +#else + if (aPath.GetChar(aPath.Len()-1)== ACCESSDELIM(DEFSTYLE)[0]) + aPath.Erase(aPath.Len()-1); #endif aPath += aThis; DirEntry aEntry( String(aPath, osl_getThreadTextEncoding())); |