mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* Fix wrong assigned check pointed out by Gareth Moreton
This commit is contained in:
parent
e87e14c7cc
commit
cbc938900f
@ -529,7 +529,6 @@ var
|
||||
version : integer;
|
||||
x : TChmWindow;
|
||||
begin
|
||||
if not assigned(fwindowslist) then
|
||||
fWindowsList.Clear;
|
||||
mem.Position:=0;
|
||||
cnt := LEtoN(mem.ReadDWord);
|
||||
@ -594,7 +593,7 @@ end;
|
||||
constructor TChmReader.Create(AStream: TStream; FreeStreamOnDestroy: Boolean);
|
||||
begin
|
||||
fContextList := TContextList.Create;
|
||||
fWindowslist := TObjectlist.Create(True);
|
||||
fWindowslist := TObjectlist.Create(True);
|
||||
fDefaultWindow:='';
|
||||
|
||||
inherited Create(AStream, FreeStreamOnDestroy);
|
||||
|
Loading…
Reference in New Issue
Block a user