On Wed, Sep 23, 2009 at 04:08:37PM +0200, cryptix wrote: > Due to the removal of the prefix = g_strdup_printf("%s ", > searchengines[i].token) line, another bug sneaked in. > With the {"g“, "http://google.com/search?q=%s"}, SearchEngine in > place, opening any url starting with g applies this SearchEngine.
Jup, I fixed this by adding a > ... || *(uri + strlen(searchengines[i].token)) != ' ' to the "continue-if". New patch is uploaded on surf.suckless.org. Nils