From fb5c86eecfd63ffdd381f9f2b57f0f509258c550 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Sat, 13 Jan 2018 07:22:09 +0100 Subject: Remove "whacky" comment I was probably thinking about multibyte encodings when I left that note, but we explicitly check whether the first two bytes are ':' and '/', so it's fine to skip them. --- browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'browser.c') diff --git a/browser.c b/browser.c index dabc00f..23a8418 100644 --- a/browser.c +++ b/browser.c @@ -775,7 +775,7 @@ key_location(GtkWidget *widget, GdkEvent *event, gpointer data) { if (search_text != NULL) g_free(search_text); - search_text = g_strdup(t + 2); /* XXX whacky */ + search_text = g_strdup(t + 2); search(c, 0); } else if (!keywords_try_search(WEBKIT_WEB_VIEW(c->web_view), t)) -- cgit v1.2.3