[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/xml
From: Maks Orlovich <maksim () kde ! org>
Date: 2005-11-06 14:17:54
Message-ID: 1131286674.986509.24343.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 478314 by orlovich:
Fix obvious logic errors, leading to crash (thanks to Germain for spotting
the other of the twins)
BUG:115680
M +2 -2 dom2_traversalimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/xml/dom2_traversalimpl.cpp #478313:478314
@@ -522,7 +522,7 @@
{
short _result;
- if( !n || n->firstChild() )
+ if( !n || !n->firstChild() )
return 0;
n = n->firstChild();
@@ -551,7 +551,7 @@
{
short _result;
- if( !n || n->lastChild() )
+ if( !n || !n->lastChild() )
return 0;
n = n->lastChild();
_result = isAccepted( n );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic