tng         2003/02/25 06:24:12

  Modified:    c/src/xercesc/dom/impl DOMRangeImpl.cpp
  Log:
  [Bug 13492] Unintended comma expression in DOMRangeImpl.cpp .  Patch from Dan Gohman.
  
  Revision  Changes    Path
  1.11      +2 -2      xml-xerces/c/src/xercesc/dom/impl/DOMRangeImpl.cpp
  
  Index: DOMRangeImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMRangeImpl.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DOMRangeImpl.cpp  29 Jan 2003 15:23:35 -0000      1.10
  +++ DOMRangeImpl.cpp  25 Feb 2003 14:24:12 -0000      1.11
  @@ -531,7 +531,7 @@
           fEndContainer = parent;
   
           XMLSize_t i = 0;
  -        for (DOMNode* n = parent->getFirstChild(); n!=0, n!=refNode; n = 
n->getNextSibling()) {
  +        for (DOMNode* n = parent->getFirstChild(); n!=0 && n!=refNode; n = 
n->getNextSibling()) {
               i++;
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to