--- a/webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp Mon Mar 15 12:44:50 2010 +0200
+++ b/webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp Wed Mar 31 23:16:40 2010 +0300
@@ -582,7 +582,7 @@
}
// check if we are close enough and calcualte with zoom factor.
- if (dist< (400/m_view->topView()->scalingFactor() * 100)) {
+ if (result && dist< (400/m_view->topView()->scalingFactor() * 100)) {
IntRect r = result->getRect();
r.inflate(-2);
TPoint docPos(xInRect(r, pt.x()), yInRect(r, pt.y()));