]> git.armaanb.net Git - chorizo.git/commitdiff
Remove "whacky" comment
authorPeter Hofmann <scm@uninformativ.de>
Sat, 13 Jan 2018 06:22:09 +0000 (07:22 +0100)
committerPeter Hofmann <scm@uninformativ.de>
Sat, 13 Jan 2018 06:22:09 +0000 (07:22 +0100)
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

index dabc00f32c63e713d72c119e18cac88ce1d2ea7a..23a8418e2ce4cdfb5cfd7efc302ced8d84f31bc5 100644 (file)
--- 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))