From 2fc5928e22c1042918860f6e335ba36318f0ebfe Mon Sep 17 00:00:00 2001 From: dusanx Date: Sun, 3 May 2009 17:10:02 +0200 Subject: Small search fix --- uzbl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uzbl.c') diff --git a/uzbl.c b/uzbl.c index f8cb48f..0c9dc16 100644 --- a/uzbl.c +++ b/uzbl.c @@ -392,11 +392,11 @@ load_uri (WebKitWebView * web_view, const gchar *param) { static void search_text (WebKitWebView *page, const char *param) { if ((param) && (param[0] != '\0')) { - printf("\nima param!!!\n"); strcpy(searchtx, param); } if (searchtx[0] != '\0') { - printf ("\n\nsearching: %s\n\n", searchtx); + printf ("Searching: %s\n", searchtx); + webkit_web_view_unmark_text_matches (page); webkit_web_view_mark_text_matches (page, searchtx, FALSE, 0); webkit_web_view_set_highlight_text_matches (page, TRUE); webkit_web_view_search_text (page, searchtx, FALSE, TRUE, TRUE); -- cgit v1.2.3