mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 02:39:15 +02:00
LazReport, fix loading previously saved binary reports on preview window
git-svn-id: trunk@39278 -
This commit is contained in:
parent
0ca30c0e9c
commit
911299e0ea
@ -7806,8 +7806,8 @@ var
|
|||||||
s: TMemoryStream;
|
s: TMemoryStream;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Compr := 0;
|
||||||
if AReadHeader then begin
|
if AReadHeader then begin
|
||||||
compr := 0;
|
|
||||||
AStream.Read(compr, 1);
|
AStream.Read(compr, 1);
|
||||||
if not (compr in [0, 1, 255]) then
|
if not (compr in [0, 1, 255]) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user