X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/5ba06ea7bd30494fe55f81a3bc07c8d1eb3702e0..055fa6bf18e0733d1bf2f97075d6bb33c76e72b5:/blinklist.pas?ds=inline diff --git a/blinklist.pas b/blinklist.pas old mode 100755 new mode 100644 index 7391bdf..5ab153a --- a/blinklist.pas +++ b/blinklist.pas @@ -82,7 +82,7 @@ procedure linklist2add(var baseptr,newptr:tlinklist2); var p:tlinklist2; begin - if (newptr=baseptr) or assigned(newptr.prev) then raise exception.create('linklist2 double insertion detected'); + if (newptr=baseptr) or assigned(newptr.prev2) then raise exception.create('linklist2 double insertion detected'); p := baseptr; baseptr := newptr; baseptr.prev2 := nil;