mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 18:39:29 +01:00
fpvectorial: Fix format detection error due to ExtractFileExt returning an empty string if applied to an extension instead of a filename.
git-svn-id: trunk@52846 -
This commit is contained in:
parent
4f2a09c958
commit
1658e33d9d
@ -10033,7 +10033,7 @@ procedure TvVectorialDocument.WriteToFile(AFileName: string);
|
||||
var
|
||||
lFormat: TvVectorialFormat;
|
||||
begin
|
||||
lFormat := GetFormatFromExtension(ExtractFileExt(AFileName));
|
||||
lFormat := GetFormatFromExtension(AFileName);
|
||||
WriteToFile(AFileName, lFormat);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user