small cleanups
authorEnno Boland (tox) <tox@s01.de>
Tue, 20 Oct 2009 18:52:43 +0000 (20:52 +0200)
committerEnno Boland (tox) <tox@s01.de>
Tue, 20 Oct 2009 18:52:43 +0000 (20:52 +0200)
surf.c

diff --git a/surf.c b/surf.c
index ecdbbed..5d2a30d 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -345,7 +345,7 @@ geturi(Client *c) {
        char *uri;
 
        if(!(uri = (char *)webkit_web_view_get_uri(c->view)))
-               uri = copystr(NULL, "about:blank");
+               uri = "about:blank";
        return uri;
 }
 
@@ -690,8 +690,6 @@ resize(GtkWidget *w, GtkAllocation *a, Client *c) {
                webkit_web_view_set_zoom_level(c->view, 1.0);
 }
 
-
-
 void
 sigchld(int unused) {
        if(signal(SIGCHLD, sigchld) == SIG_ERR)