mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 12:29:14 +02:00
* Setting empty should also work.
(cherry picked from commit 930e49590c
)
This commit is contained in:
parent
8095aa6ac4
commit
952b831580
@ -399,7 +399,9 @@ end;
|
||||
|
||||
procedure TFontManager.SetExtension (AValue : string);
|
||||
begin
|
||||
if AValue <> '' then
|
||||
if AValue = '' then
|
||||
FExtension:=''
|
||||
else
|
||||
if AValue[1] <> '.' then
|
||||
FExtension := '.' + AValue
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user