]> git.armaanb.net Git - chorizo.git/commitdiff
Code style: Fix whitespace and a wrap
authorPeter Hofmann <scm@uninformativ.de>
Sun, 15 Jun 2014 18:44:18 +0000 (20:44 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Sun, 15 Jun 2014 18:44:18 +0000 (20:44 +0200)
browser.c

index 5c7143646ac7ec74ce50fa8cf75e86163c08f060..8478505daa0e65b6071c929eaaf25ab0451dcf85 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -431,9 +431,9 @@ ensure_url_scheme(const gchar *t)
 
        f = g_ascii_strdown(t, -1);
        if (!g_str_has_prefix(f, "http:") &&
-               !g_str_has_prefix(f, "https:") &&
-               !g_str_has_prefix(f, "file:") &&
-               !g_str_has_prefix(f, "about:"))
+           !g_str_has_prefix(f, "https:") &&
+           !g_str_has_prefix(f, "file:") &&
+           !g_str_has_prefix(f, "about:"))
        {
                g_free(f);
                f = g_strdup_printf("http://%s", t);
@@ -462,8 +462,7 @@ grab_environment_configuration(void)
 }
 
 void
-hover_web_view(WebKitWebView *web_view, gchar *title, gchar *uri,
-                   gpointer data)
+hover_web_view(WebKitWebView *web_view, gchar *title, gchar *uri, gpointer data)
 {
        struct Client *c = (struct Client *)data;