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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/rendering
From:       İsmail Dönmez <ismail () kde ! org>
Date:       2006-10-07 10:46:38
Message-ID: 1160217998.058278.21960.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 593254 by cartman:

make sure listItem is not NULL, according to while loop on line 258 it can be NULL


 M  +1 -1      render_list.cpp  


--- branches/KDE/3.5/kdelibs/khtml/rendering/render_list.cpp #593253:593254
@@ -285,7 +285,7 @@
     if (offset%2)
         bulletWidth++;
     if (!listPositionInside()) {
-        if (listItem->style()->direction() == LTR)
+        if (listItem && listItem->style()->direction() == LTR)
             xoff = -cMarkerPadding - offset;
         else
             xoff = cMarkerPadding + (haveImage ? 0 : (offset - bulletWidth));
[prev in list] [next in list] [prev in thread] [next in thread] 

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