TAChart: Fix compilation on non-windows platforms

git-svn-id: trunk@30218 -
This commit is contained in:
ask 2011-04-06 00:40:40 +00:00
parent e0db061157
commit 5a2b851dcd

View File

@ -355,9 +355,11 @@ begin
end;
procedure TSVGDrawer.WriteStr(const AString: String);
var
le: String = LineEnding;
begin
FStream.WriteBuffer(AString[1], Length(AString));
FStream.WriteBuffer(LineEnding[1], Length(LineEnding));
FStream.WriteBuffer(le[1], Length(le));
end;
end.