Reviewed by me
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Nov 2004 15:30:29 +0000 (15:30 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Nov 2004 15:30:29 +0000 (15:30 +0000)
        * khtml/editing/htmlediting.cpp:
        (khtml::ReplacementFragment::mergeEndNode): Fixed one-line coding mistake that created an endless loop.
        Seemed simple enough to land without review.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8088 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp

index a1d1ac7..91b8b4b 100644 (file)
@@ -1,3 +1,11 @@
+2004-11-30  Ken Kocienda  <kocienda@apple.com>
+
+        Reviewed by me
+
+        * khtml/editing/htmlediting.cpp:
+        (khtml::ReplacementFragment::mergeEndNode): Fixed one-line coding mistake that created an endless loop.
+        Seemed simple enough to land without review.
+
 2004-11-29  Ken Kocienda  <kocienda@apple.com>
 
         Reviewed by Chris
index abe7879..6b4082e 100644 (file)
@@ -2767,6 +2767,7 @@ NodeImpl *ReplacementFragment::mergeEndNode() const
                 if (!previousSibling || isProbablyBlock(previousSibling))
                     return node;
                 node = previousSibling;
+                previousSibling = node->previousSibling();
             }
         }
         node = prev;