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

List:       kde-devel
Subject:    bug in khtmlw
From:       Jan Kneschke <Jan.Kneschke () kiel ! netsurf ! de>
Date:       1998-01-11 19:35:12
[Download RAW message or body]




File: html.cpp, Line 563:

  const char* KHTMLWidget::getURL( QPoint &p )
  {
      if ( clue == 0L )
          return 0L;

      HTMLObject *obj;

      obj = clue->checkPoint( p.x() + x_offset, p.y() + y_offset );

      if ( obj != 0L)
-          if (obj->getURL()[0] != 0)
+          if (obj->getURL() && obj->getURL()[0] != 0)
              return obj->getURL();

      return 0L;
  }



thats all
  Jan

--- 
         Project: DiJan (Dial Janus -- ZConnect for Linux (KDE))
        -)=  Jan (Weigon) Kneschke -- Kiel -- Northern Germany =(-

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

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