mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 10:52:33 +02:00
fpvectorial: Fix runtime error with fpc trunk due to duplicate application of ExtractFileExt returning no extension any more.
git-svn-id: trunk@50819 -
This commit is contained in:
parent
5fe2efae86
commit
f122e388f7
@ -8336,7 +8336,7 @@ procedure TvVectorialDocument.ReadFromFile(AFileName: string);
|
||||
var
|
||||
lFormat: TvVectorialFormat;
|
||||
begin
|
||||
lFormat := GetFormatFromExtension(ExtractFileExt(AFileName));
|
||||
lFormat := GetFormatFromExtension(AFileName);
|
||||
ReadFromFile(AFileName, lFormat);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user