Browse Source

* A forgotten part of r13824: the condition in assertion must be the same as the condition of calling TNodePool.AddExtent.

git-svn-id: trunk@14644 -
sergei 15 years ago
parent
commit
5dee45a6a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-xml/src/dom.pp

+ 1 - 1
packages/fcl-xml/src/dom.pp

@@ -3289,7 +3289,7 @@ var
   ext: PExtent;
 begin
   Assert((FCurrExtent = nil) or
-    (PAnsiChar(FCurrBlock) = PAnsiChar(FCurrExtent) + sizeof(TExtent)));
+    (PAnsiChar(FCurrBlock) < PAnsiChar(FCurrExtent) + sizeof(TExtent)));
   Assert(AElemCount > 0);
 
   GetMem(ext, sizeof(TExtent) + AElemCount * FElementSize);