mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* Setting empty should also work.
This commit is contained in:
parent
45d00abddc
commit
930e49590c
@ -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