summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-06-15 20:44:18 +0200
committerPeter Hofmann <scm@uninformativ.de>2014-06-15 20:44:18 +0200
commit4f29431632a41d0fc31f117c42b5f03932df0648 (patch)
tree6efb439bc359cd9ac2af62c52b99b400b26db2a3
parent378f3c42538433793ac149365b2acfa7dbbe8ef7 (diff)
downloadlariza-4f29431632a41d0fc31f117c42b5f03932df0648.tar.gz
Code style: Fix whitespace and a wrap
-rw-r--r--browser.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/browser.c b/browser.c
index 5c71436..8478505 100644
--- 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;