mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Free Pascal 3.2.3 compatibility
This commit is contained in:
parent
b9079e7827
commit
4dbffb2748
1 changed files with 8 additions and 2 deletions
|
|
@ -2495,10 +2495,16 @@ procedure LoadXmlConfig;
|
|||
end;
|
||||
end;
|
||||
procedure GetDCFont(Node: TXmlNode; var FontOptions: TDCFontOptions);
|
||||
var
|
||||
FontQuality: Integer;
|
||||
begin
|
||||
if Assigned(Node) then
|
||||
gConfig.GetFont(Node, '', FontOptions.Name, FontOptions.Size, Integer(FontOptions.Style), Integer(FontOptions.Quality),
|
||||
FontOptions.Name, FontOptions.Size, Integer(FontOptions.Style), Integer(FontOptions.Quality));
|
||||
begin
|
||||
FontQuality:= Integer(FontOptions.Quality);
|
||||
gConfig.GetFont(Node, '', FontOptions.Name, FontOptions.Size, Integer(FontOptions.Style), FontQuality,
|
||||
FontOptions.Name, FontOptions.Size, Integer(FontOptions.Style), FontQuality);
|
||||
FontOptions.Quality:= TFontQuality(FontQuality);
|
||||
end;
|
||||
end;
|
||||
procedure LoadOption(Node: TXmlNode; var Options: TDrivesListButtonOptions; Option: TDrivesListButtonOption; AName: String);
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue