Browse Source

* fixed also ExtractFileName

git-svn-id: trunk@10108 -
peter 17 years ago
parent
commit
8c0adc7f3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/fina.inc

+ 1 - 1
rtl/objpas/sysutils/fina.inc

@@ -92,7 +92,7 @@ var
   EndSep : Set of Char;
 begin
   I := Length(FileName);
-  EndSep:=AllowDirectorySeparators+AllowDriveSeparators+[ExtensionSeparator];
+  EndSep:=AllowDirectorySeparators+AllowDriveSeparators;
   while (I > 0) and not (FileName[I] in EndSep) do
     Dec(I);
   Result := Copy(FileName, I + 1, MaxInt);