summaryrefslogtreecommitdiff
path: root/tools/source/fsys/dirent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/fsys/dirent.cxx')
-rw-r--r--tools/source/fsys/dirent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index aef12998b722..6efde8a9b427 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -872,7 +872,7 @@ String DirEntry::GetExtension( char cSep ) const
const char *p0 = aName.getStr();
const char *p1 = p0 + aName.getLength() - 1;
while ( p1 >= p0 && *p1 != cSep )
- p1--;
+ p1--;
if ( p1 >= p0 )
{