mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +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);
|
procedure TFontManager.SetExtension (AValue : string);
|
||||||
begin
|
begin
|
||||||
if AValue <> '' then
|
if AValue = '' then
|
||||||
|
FExtension:=''
|
||||||
|
else
|
||||||
if AValue[1] <> '.' then
|
if AValue[1] <> '.' then
|
||||||
FExtension := '.' + AValue
|
FExtension := '.' + AValue
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user