* rendering/bidi.cpp:
(WebCore::bidiNext):
At Darin's suggestion, moved the "next = 0" line from my previous patch to the start of the loop body
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/rendering/bidi.cpp b/WebCore/rendering/bidi.cpp
index 898f491..8660690 100644
--- a/WebCore/rendering/bidi.cpp
+++ b/WebCore/rendering/bidi.cpp
@@ -337,6 +337,7 @@
*endOfInline = false;
while (current) {
+ next = 0;
if (!oldEndOfInline && !current->isFloating() && !current->isReplaced() && !current->isPositioned()) {
next = current->firstChild();
if (next && bidi.adjustEmbedding && next->isInlineFlow()) {
@@ -396,7 +397,6 @@
&& next->isInlineFlow()))
break;
current = next;
- next = 0;
}
return next;
}