浏览代码

* fixed also ExtractFileName

git-svn-id: trunk@10108 -
peter 17 年之前
父节点
当前提交
8c0adc7f3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);