diff options
Diffstat (limited to 'khtml/rendering/render_line.cpp')
-rw-r--r-- | khtml/rendering/render_line.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/rendering/render_line.cpp b/khtml/rendering/render_line.cpp index f3b769e9c..2bcbe366e 100644 --- a/khtml/rendering/render_line.cpp +++ b/khtml/rendering/render_line.cpp @@ -271,8 +271,8 @@ bool InlineFlowBox::onEndChain(RenderObject* endObject) RenderObject* curr = endObject; RenderObject* parent = curr->parent(); - while (parent && !parent->isRenderBlock() || parent == object()) { - if (parent->lastChild() != curr) + while (parent && !parent->isRenderBlock()) { + if (parent->lastChild() != curr || parent == object()) return false; curr = parent; |