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

List:       kde-commits
Subject:    kdelibs/khtml/rendering
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2005-02-15 21:03:12
Message-ID: 20050215210312.87AA81B90A () office ! kde ! org
[Download RAW message or body]

CVS commit by carewolf: 

Just add a null check for evil tests


  M +5 -5      render_style.cpp   1.79


--- kdelibs/khtml/rendering/render_style.cpp  #1.78:1.79
@@ -577,5 +577,5 @@ void RenderStyle::setQuotes(DOM::QuotesV
     DOM::QuotesValueImpl *t = inherited->quotes;
     inherited.access()->quotes = q;
-    q->ref();
+    if (q) q->ref();
     if (t) t->deref();
 }


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

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