[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdelibs/khtml/rendering
From: Leo Savernik <l.savernik () aon ! at>
Date: 2004-05-07 12:05:55
Message-ID: 20040507120555.78F1B1BC3 () office ! kde ! org
[Download RAW message or body]
CVS commit by savernik:
Fixed a crash in text selection wrt table cells.
Backported because it applies to the branch as well.
M +2 -2 render_table.cpp 1.251.2.3
--- kdelibs/khtml/rendering/render_table.cpp #1.251.2.2:1.251.2.3
@@ -1342,8 +1342,8 @@ static NodeImpl *findLastSelectableNode(
NodeImpl *next = last->lastChild();
if ( !next ) next = last->previousSibling();
- while ( last != base && !next )
+ while ( last && last != base && !next )
{
last = last->parentNode();
- if ( last != base )
+ if ( last && last != base )
next = last->previousSibling();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic