Use the more conventional Google search URL, not the "Instant" one.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@558 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
leavengood 2010-12-28 05:03:13 +00:00 committed by Alexandre Deckner
parent 1526be737a
commit c5efa2c0b9

View File

@ -2098,7 +2098,7 @@ BrowserWindow::_SmartURLHandler(const BString& url) const
{
BString result = url;
if (url.FindFirst(".") == B_ERROR || url.FindFirst(" ") != B_ERROR)
result.Prepend("http://www.google.com/#q=");
result.Prepend("http://www.google.com/search?q=");
return result;
}