From kde-commits Thu Nov 18 14:41:33 2004 From: Dirk Mueller Date: Thu, 18 Nov 2004 14:41:33 +0000 To: kde-commits Subject: kdelibs/khtml/xml Message-Id: <20041118144133.CE2F116E3E () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110078890712623 CVS commit by mueller: now this was a fun bug to find :-( M +2 -2 dom2_rangeimpl.cpp 1.34 --- kdelibs/khtml/xml/dom2_rangeimpl.cpp #1.33:1.34 @@ -319,5 +319,5 @@ short RangeImpl::compareBoundaryPoints( if (c) { int offsetC = 0; - NodeImpl *n = n = containerA->firstChild(); + NodeImpl* n = containerA->firstChild(); while (n != c) { offsetC++; @@ -335,5 +335,5 @@ short RangeImpl::compareBoundaryPoints( if (c) { int offsetC = 0; - NodeImpl *n = n = containerB->firstChild(); + NodeImpl* n = containerB->firstChild(); while (n != c) { offsetC++;