-\r
{ Copyright (C) 2005 Bas Steendijk\r
For conditions of distribution and use, see copyright notice in zlib_license.txt\r
- which is included in the package\r
- ----------------------------------------------------------------------------- }\r
-\r
+ which is included in the package\r
+ ----------------------------------------------------------------------------- }\r
unit blinklist;\r
+\r
{$ifdef fpc}\r
{$mode delphi}\r
{$endif}\r
end;\r
\r
tstringlinklist=class(tlinklist)\r
- s:string;\r
+ s:ansistring;\r
end;\r
\r
tthing=class(tlinklist)\r
- name:string; {name/nick}\r
+ name:ansistring; {name/nick}\r
hashname:integer; {hash of name}\r
end;\r
\r
var\r
p:tlinklist2;\r
begin\r
- if (newptr=baseptr) or assigned(newptr.prev) then raise exception.create('linklist2 double insertion detected');\r
+ if (newptr=baseptr) or assigned(newptr.prev2) then raise exception.create('linklist2 double insertion detected');\r
p := baseptr;\r
baseptr := newptr;\r
baseptr.prev2 := nil;\r