summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2018-01-13 07:22:09 +0100
committerPeter Hofmann <scm@uninformativ.de>2018-01-13 07:22:09 +0100
commitfb5c86eecfd63ffdd381f9f2b57f0f509258c550 (patch)
tree683533b3299a022b3c4efc31604155facc35c425
parent385483de0c99c7665fe5d600d30a766c502c69ea (diff)
downloadlariza-fb5c86eecfd63ffdd381f9f2b57f0f509258c550.tar.gz
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.
-rw-r--r--browser.c2
1 files changed, 1 insertions, 1 deletions
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))