[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/xml
From:       Harri Porten <porten () kde ! org>
Date:       2008-09-28 21:52:11
Message-ID: 1222638731.997507.30210.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 865765 by porten:

As I understand this code is dead. Still, prevent it from crashing.


 M  +1 -1      dom_nodeimpl.cpp  


--- trunk/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp #865764:865765
@@ -318,7 +318,7 @@
 void NodeImpl::getCaret(int offset, bool override, int &_x, int &_y, int &width, int &height)
 {
     if (m_render) {
-        RenderObject *r;
+        RenderObject *r = 0;
 	long r_ofs;
 	bool outside, outsideEnd;
 #if 0
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic