Fixed default search engine lookup without handle.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 11:24:29 +0000 (12:24 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 11:24:29 +0000 (12:24 +0100)
commita164f85b3a0adb0fdd760a756ab5f3273db96cf7
tree97641930162dd4a06d7f49aed1c5787e5c57cabf
parent9a311fef90cea6c6b777075654505a7f04c0136a
Fixed default search engine lookup without handle.

To get the search handle the string after :open was split by space char. If
only one term was given we skipped the lookup of the search engine so that it
wasn't possible to search for a single term without a given search handle.
src/main.c
src/searchengine.c