mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 01:57:16 +01:00
fixed ExtractFileNameWithoutExt (fixes issue #1782)
git-svn-id: trunk@8834 -
This commit is contained in:
parent
2e81a8fee5
commit
18252b595d
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user