fixed ExtractFileNameWithoutExt (fixes issue #1782)

git-svn-id: trunk@8834 -
This commit is contained in:
vincents 2006-02-27 11:39:01 +00:00
parent 2e81a8fee5
commit 18252b595d

View File

@ -324,7 +324,7 @@ begin
while (p>0) do begin
case Result[p] of
PathDelim: exit;
'.': Result:=copy(Result,p-1,length(Result));
'.': Result:=copy(Result,1, p-1);
else dec(p);
end;
end;