Browse Source

--- Merging r14921 into '.':
U packages/fcl-base/src/avl_tree.pp
U packages/libxml/src/xmlxsd.pas

# revisions: 14921
------------------------------------------------------------------------
r14921 | ivost | 2010-02-18 00:56:11 +0100 (Thu, 18 Feb 2010) | 2 lines
Changed paths:
M /trunk/packages/fcl-base/src/avl_tree.pp
M /trunk/packages/libxml/src/xmlxsd.pas

* SetOnCompare didn't assign AValue to FOnCompare when Count was 0

------------------------------------------------------------------------

git-svn-id: branches/fixes_2_4@15058 -

marco 15 years ago
parent
commit
404b29c4c2
2 changed files with 2 additions and 3 deletions
  1. 2 1
      packages/fcl-base/src/avl_tree.pp
  2. 0 2
      packages/libxml/src/xmlxsd.pas

+ 2 - 1
packages/fcl-base/src/avl_tree.pp

@@ -1034,7 +1034,8 @@ begin
     finally
       FreeMem(List);
     end;
-  end;
+  end else
+    FOnCompare:=AValue;
 end;
 
 procedure TAVLTree.SetNodeManager(newmgr:TBaseAVLTreeNodeManager);

+ 0 - 2
packages/libxml/src/xmlxsd.pas

@@ -903,8 +903,6 @@ begin
     else Exit(False);
   end;
 
-  //writeln(Len, ', ', IntToHex(Num,16));
-
   case Num of
     $30,
     $65736C6166,$65736C6146,$65736C4166,$65736C4146,$65734C6166,$65734C6146,$65734C4166,$65734C4146,