[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       Zack Rusin <zack () kde ! org>
Date:       2004-03-27 1:44:08
Message-ID: 20040327014408.10B8E9936 () office ! kde ! org
[Download RAW message or body]

CVS commit by zrusin: 

Move to the next sibling, not from the empty node but from its parent


  M +1 -1      dom2_traversalimpl.cpp   1.16


--- kdelibs/khtml/xml/dom2_traversalimpl.cpp  #1.15:1.16
@@ -659,5 +659,5 @@ NodeImpl *TreeWalkerImpl::getNextSibling
     else
     {
-        _tempCurrent = _tempCurrent->parentNode();
+        _tempCurrent = n->parentNode();
         if( !_tempCurrent || _tempCurrent == m_rootNode)
             return 0;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic