[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: [PATCH] Fix crash in khtml
From: Lars Knoll <lars () trolltech ! com>
Date: 2002-02-27 22:43:36
[Download RAW message or body]
On Wednesday 27 February 2002 20:31, Rob Kaper wrote:
> On Wed, Feb 27, 2002 at 01:42:24PM -0500, Pascal Létourneau wrote:
> > + if(!m_render)
> > + return;
> > +
> > if ( m_render->style()->display() == LIST_ITEM ) {
>
> You might as well check for a valid m_render->style() pointer also.
>
> if ( !( m_render && m_render->style() ) )
No need. We would never get a renderobject without style.
Lars
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic