mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-15 04:19:32 +02:00
reduced output of bin to text conversion
git-svn-id: trunk@5795 -
This commit is contained in:
parent
50a941f84b
commit
b5b5114632
@ -1156,9 +1156,12 @@ end;
|
||||
procedure LRSObjectBinaryToText(Input, Output: TStream);
|
||||
|
||||
procedure OutStr(const s: String);
|
||||
{$IFDEF VerboseLRSObjectBinaryToText}
|
||||
var
|
||||
i: Integer;
|
||||
{$ENDIF}
|
||||
begin
|
||||
{$IFDEF VerboseLRSObjectBinaryToText}
|
||||
for i:=1 to length(s) do begin
|
||||
if (s[i] in [#0..#8,#11..#12,#14..#31]) then begin
|
||||
DbgOut('#'+IntToStr(ord(s[i])));
|
||||
@ -1166,6 +1169,7 @@ procedure LRSObjectBinaryToText(Input, Output: TStream);
|
||||
end else
|
||||
DbgOut(s[i]);
|
||||
end;
|
||||
{$ENDIF}
|
||||
if Length(s) > 0 then
|
||||
Output.Write(s[1], Length(s));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user