Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nativexml/NativeXml.pas
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ interface
{$i simdesign.inc}

// define if you want to include the Graphics unit, and graphics-related properties.
{.$define USEGRAPHICS}
{$define USEGRAPHICS}

// define if you want to include zlib (=deflate) compression in binary xml.
{.$define USEZLIB}
Expand Down Expand Up @@ -3435,7 +3435,7 @@ procedure TXmlNode.WriteBrush(const AName: Utf8String; ABrush: TBrush);
procedure TXmlNode.WriteColor(const AName: UTF8String; AValue, ADefault: TColor);
begin
if WriteOnDefault or (AValue <> ADefault) then
WriteHex(AName, ColorToRGB(AValue), 8, 0);
WriteHex(AName, ColorToRGB(AValue), 8, ADefault);
end;
{$endif USEGRAPHICS}

Expand Down